YES 17.842 H-Termination proof of /home/matraf/haskell/eval_FullyBlown_Fast/FiniteMap.hs
H-Termination of the given Haskell-Program with start terms could successfully be proven:



HASKELL
  ↳ LR

mainModule FiniteMap
  ((addListToFM :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a) :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a)

module FiniteMap where
  import qualified Maybe
import qualified Prelude

  data FiniteMap a b = EmptyFM  | Branch a b Int (FiniteMap a b) (FiniteMap a b


  instance (Eq a, Eq b) => Eq (FiniteMap b a) where 
   
(==) fm_1 fm_2 sizeFM fm_1 == sizeFM fm_2 && fmToList fm_1 == fmToList fm_2

  addListToFM :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a
addListToFM fm key_elt_pairs addListToFM_C (\old new ->new) fm key_elt_pairs

  addListToFM_C :: Ord b => (a  ->  a  ->  a ->  FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a
addListToFM_C combiner fm key_elt_pairs 
foldl add fm key_elt_pairs where 
add fmap (key,eltaddToFM_C combiner fmap key elt

  addToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  a  ->  b  ->  FiniteMap a b
addToFM_C combiner EmptyFM key elt unitFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt 
 | new_key < key = 
mkBalBranch key elt (addToFM_C combiner fm_l new_key new_elt) fm_r
 | new_key > key = 
mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
 | otherwise = 
Branch new_key (combiner elt new_elt) size fm_l fm_r

  emptyFM :: FiniteMap b a
emptyFM EmptyFM

  findMax :: FiniteMap b a  ->  (b,a)
findMax (Branch key elt _ _ EmptyFM(key,elt)
findMax (Branch key elt _ _ fm_rfindMax fm_r

  findMin :: FiniteMap b a  ->  (b,a)
findMin (Branch key elt _ EmptyFM _) (key,elt)
findMin (Branch key elt _ fm_l _) findMin fm_l

  fmToList :: FiniteMap a b  ->  [(a,b)]
fmToList fm foldFM (\key elt rest ->(key,elt: rest) [] fm

  foldFM :: (a  ->  b  ->  c  ->  c ->  c  ->  FiniteMap a b  ->  c
foldFM k z EmptyFM z
foldFM k z (Branch key elt _ fm_l fm_rfoldFM k (k key elt (foldFM k z fm_r)) fm_l

  mkBalBranch :: Ord b => b  ->  a  ->  FiniteMap b a  ->  FiniteMap b a  ->  FiniteMap b a
mkBalBranch key elt fm_L fm_R 
 | size_l + size_r < 2 = 
mkBranch 1 key elt fm_L fm_R
 | size_r > sIZE_RATIO * size_l = 
case fm_R of
  Branch _ _ _ fm_rl fm_rr
 | sizeFM fm_rl < 2 * sizeFM fm_rr -> 
single_L fm_L fm_R
 | otherwise -> 
double_L fm_L fm_R
 | size_l > sIZE_RATIO * size_r = 
case fm_L of
  Branch _ _ _ fm_ll fm_lr
 | sizeFM fm_lr < 2 * sizeFM fm_ll -> 
single_R fm_L fm_R
 | otherwise -> 
double_R fm_L fm_R
 | otherwise = 
mkBranch 2 key elt fm_L fm_R where 
double_L fm_l (Branch key_r elt_r _ (Branch key_rl elt_rl _ fm_rll fm_rlr) fm_rrmkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l _ fm_ll (Branch key_lr elt_lr _ fm_lrl fm_lrr)) fm_r mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
single_L fm_l (Branch key_r elt_r _ fm_rl fm_rrmkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rl) fm_rr
single_R (Branch key_l elt_l _ fm_ll fm_lrfm_r mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l sizeFM fm_L
size_r sizeFM fm_R

  mkBranch :: Ord a => Int  ->  a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBranch which key elt fm_l fm_r 
let 
result Branch key elt (unbox (1 + left_size + right_size)) fm_l fm_r
in result
 where 
balance_ok True
left_ok 
case fm_l of
  EmptyFM-> True
  Branch left_key _ _ _ _-> 
let 
biggest_left_key fst (findMax fm_l)
in biggest_left_key < key
left_size sizeFM fm_l
right_ok 
case fm_r of
  EmptyFM-> True
  Branch right_key _ _ _ _-> 
let 
smallest_right_key fst (findMin fm_r)
in key < smallest_right_key
right_size sizeFM fm_r
unbox :: Int  ->  Int
unbox x x

  sIZE_RATIO :: Int
sIZE_RATIO 5

  sizeFM :: FiniteMap a b  ->  Int
sizeFM EmptyFM 0
sizeFM (Branch _ _ size _ _) size

  unitFM :: b  ->  a  ->  FiniteMap b a
unitFM key elt Branch key elt 1 emptyFM emptyFM


module Maybe where
  import qualified FiniteMap
import qualified Prelude



Lambda Reductions:
The following Lambda expression
\keyeltrest→(key,elt: rest

is transformed to
fmToList0 key elt rest = (key,elt: rest

The following Lambda expression
\oldnewnew

is transformed to
addListToFM0 old new = new



↳ HASKELL
  ↳ LR
HASKELL
      ↳ CR

mainModule FiniteMap
  ((addListToFM :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a) :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a)

module FiniteMap where
  import qualified Maybe
import qualified Prelude

  data FiniteMap a b = EmptyFM  | Branch a b Int (FiniteMap a b) (FiniteMap a b


  instance (Eq a, Eq b) => Eq (FiniteMap a b) where 
   
(==) fm_1 fm_2 sizeFM fm_1 == sizeFM fm_2 && fmToList fm_1 == fmToList fm_2

  addListToFM :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a
addListToFM fm key_elt_pairs addListToFM_C addListToFM0 fm key_elt_pairs

  
addListToFM0 old new new

  addListToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM_C combiner fm key_elt_pairs 
foldl add fm key_elt_pairs where 
add fmap (key,eltaddToFM_C combiner fmap key elt

  addToFM_C :: Ord b => (a  ->  a  ->  a ->  FiniteMap b a  ->  b  ->  a  ->  FiniteMap b a
addToFM_C combiner EmptyFM key elt unitFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt 
 | new_key < key = 
mkBalBranch key elt (addToFM_C combiner fm_l new_key new_elt) fm_r
 | new_key > key = 
mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
 | otherwise = 
Branch new_key (combiner elt new_elt) size fm_l fm_r

  emptyFM :: FiniteMap b a
emptyFM EmptyFM

  findMax :: FiniteMap b a  ->  (b,a)
findMax (Branch key elt _ _ EmptyFM(key,elt)
findMax (Branch key elt _ _ fm_rfindMax fm_r

  findMin :: FiniteMap b a  ->  (b,a)
findMin (Branch key elt _ EmptyFM _) (key,elt)
findMin (Branch key elt _ fm_l _) findMin fm_l

  fmToList :: FiniteMap a b  ->  [(a,b)]
fmToList fm foldFM fmToList0 [] fm

  
fmToList0 key elt rest (key,elt: rest

  foldFM :: (c  ->  a  ->  b  ->  b ->  b  ->  FiniteMap c a  ->  b
foldFM k z EmptyFM z
foldFM k z (Branch key elt _ fm_l fm_rfoldFM k (k key elt (foldFM k z fm_r)) fm_l

  mkBalBranch :: Ord a => a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBalBranch key elt fm_L fm_R 
 | size_l + size_r < 2 = 
mkBranch 1 key elt fm_L fm_R
 | size_r > sIZE_RATIO * size_l = 
case fm_R of
  Branch _ _ _ fm_rl fm_rr
 | sizeFM fm_rl < 2 * sizeFM fm_rr -> 
single_L fm_L fm_R
 | otherwise -> 
double_L fm_L fm_R
 | size_l > sIZE_RATIO * size_r = 
case fm_L of
  Branch _ _ _ fm_ll fm_lr
 | sizeFM fm_lr < 2 * sizeFM fm_ll -> 
single_R fm_L fm_R
 | otherwise -> 
double_R fm_L fm_R
 | otherwise = 
mkBranch 2 key elt fm_L fm_R where 
double_L fm_l (Branch key_r elt_r _ (Branch key_rl elt_rl _ fm_rll fm_rlr) fm_rrmkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l _ fm_ll (Branch key_lr elt_lr _ fm_lrl fm_lrr)) fm_r mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
single_L fm_l (Branch key_r elt_r _ fm_rl fm_rrmkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rl) fm_rr
single_R (Branch key_l elt_l _ fm_ll fm_lrfm_r mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l sizeFM fm_L
size_r sizeFM fm_R

  mkBranch :: Ord b => Int  ->  b  ->  a  ->  FiniteMap b a  ->  FiniteMap b a  ->  FiniteMap b a
mkBranch which key elt fm_l fm_r 
let 
result Branch key elt (unbox (1 + left_size + right_size)) fm_l fm_r
in result
 where 
balance_ok True
left_ok 
case fm_l of
  EmptyFM-> True
  Branch left_key _ _ _ _-> 
let 
biggest_left_key fst (findMax fm_l)
in biggest_left_key < key
left_size sizeFM fm_l
right_ok 
case fm_r of
  EmptyFM-> True
  Branch right_key _ _ _ _-> 
let 
smallest_right_key fst (findMin fm_r)
in key < smallest_right_key
right_size sizeFM fm_r
unbox :: Int  ->  Int
unbox x x

  sIZE_RATIO :: Int
sIZE_RATIO 5

  sizeFM :: FiniteMap a b  ->  Int
sizeFM EmptyFM 0
sizeFM (Branch _ _ size _ _) size

  unitFM :: a  ->  b  ->  FiniteMap a b
unitFM key elt Branch key elt 1 emptyFM emptyFM


module Maybe where
  import qualified FiniteMap
import qualified Prelude



Case Reductions:
The following Case expression
case fm_l of
 EmptyFM → True
 Branch left_key _ _ _ _ → 
let 
biggest_left_key  = fst (findMax fm_l)
in biggest_left_key < key

is transformed to
left_ok0 fm_l key EmptyFM = True
left_ok0 fm_l key (Branch left_key _ _ _ _) = 
let 
biggest_left_key  = fst (findMax fm_l)
in biggest_left_key < key

The following Case expression
case fm_r of
 EmptyFM → True
 Branch right_key _ _ _ _ → 
let 
smallest_right_key  = fst (findMin fm_r)
in key < smallest_right_key

is transformed to
right_ok0 fm_r key EmptyFM = True
right_ok0 fm_r key (Branch right_key _ _ _ _) = 
let 
smallest_right_key  = fst (findMin fm_r)
in key < smallest_right_key

The following Case expression
case fm_R of
 Branch _ _ _ fm_rl fm_rr
 | sizeFM fm_rl < 2 * sizeFM fm_rr
 → single_L fm_L fm_R
 | otherwise
 → double_L fm_L fm_R

is transformed to
mkBalBranch0 fm_L fm_R (Branch _ _ _ fm_rl fm_rr)
 | sizeFM fm_rl < 2 * sizeFM fm_rr
 = single_L fm_L fm_R
 | otherwise
 = double_L fm_L fm_R

The following Case expression
case fm_L of
 Branch _ _ _ fm_ll fm_lr
 | sizeFM fm_lr < 2 * sizeFM fm_ll
 → single_R fm_L fm_R
 | otherwise
 → double_R fm_L fm_R

is transformed to
mkBalBranch1 fm_L fm_R (Branch _ _ _ fm_ll fm_lr)
 | sizeFM fm_lr < 2 * sizeFM fm_ll
 = single_R fm_L fm_R
 | otherwise
 = double_R fm_L fm_R

The following Case expression
case compare x y of
 EQ → o
 LT → LT
 GT → GT

is transformed to
primCompAux0 o EQ = o
primCompAux0 o LT = LT
primCompAux0 o GT = GT



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
HASKELL
          ↳ IFR

mainModule FiniteMap
  ((addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b) :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b)

module FiniteMap where
  import qualified Maybe
import qualified Prelude

  data FiniteMap b a = EmptyFM  | Branch b a Int (FiniteMap b a) (FiniteMap b a


  instance (Eq a, Eq b) => Eq (FiniteMap a b) where 
   
(==) fm_1 fm_2 sizeFM fm_1 == sizeFM fm_2 && fmToList fm_1 == fmToList fm_2

  addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM fm key_elt_pairs addListToFM_C addListToFM0 fm key_elt_pairs

  
addListToFM0 old new new

  addListToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM_C combiner fm key_elt_pairs 
foldl add fm key_elt_pairs where 
add fmap (key,eltaddToFM_C combiner fmap key elt

  addToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  a  ->  b  ->  FiniteMap a b
addToFM_C combiner EmptyFM key elt unitFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt 
 | new_key < key = 
mkBalBranch key elt (addToFM_C combiner fm_l new_key new_elt) fm_r
 | new_key > key = 
mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
 | otherwise = 
Branch new_key (combiner elt new_elt) size fm_l fm_r

  emptyFM :: FiniteMap b a
emptyFM EmptyFM

  findMax :: FiniteMap b a  ->  (b,a)
findMax (Branch key elt _ _ EmptyFM(key,elt)
findMax (Branch key elt _ _ fm_rfindMax fm_r

  findMin :: FiniteMap b a  ->  (b,a)
findMin (Branch key elt _ EmptyFM _) (key,elt)
findMin (Branch key elt _ fm_l _) findMin fm_l

  fmToList :: FiniteMap b a  ->  [(b,a)]
fmToList fm foldFM fmToList0 [] fm

  
fmToList0 key elt rest (key,elt: rest

  foldFM :: (b  ->  c  ->  a  ->  a ->  a  ->  FiniteMap b c  ->  a
foldFM k z EmptyFM z
foldFM k z (Branch key elt _ fm_l fm_rfoldFM k (k key elt (foldFM k z fm_r)) fm_l

  mkBalBranch :: Ord a => a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBalBranch key elt fm_L fm_R 
 | size_l + size_r < 2 = 
mkBranch 1 key elt fm_L fm_R
 | size_r > sIZE_RATIO * size_l = 
mkBalBranch0 fm_L fm_R fm_R
 | size_l > sIZE_RATIO * size_r = 
mkBalBranch1 fm_L fm_R fm_L
 | otherwise = 
mkBranch 2 key elt fm_L fm_R where 
double_L fm_l (Branch key_r elt_r _ (Branch key_rl elt_rl _ fm_rll fm_rlr) fm_rrmkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l _ fm_ll (Branch key_lr elt_lr _ fm_lrl fm_lrr)) fm_r mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
mkBalBranch0 fm_L fm_R (Branch _ _ _ fm_rl fm_rr
 | sizeFM fm_rl < 2 * sizeFM fm_rr = 
single_L fm_L fm_R
 | otherwise = 
double_L fm_L fm_R
mkBalBranch1 fm_L fm_R (Branch _ _ _ fm_ll fm_lr
 | sizeFM fm_lr < 2 * sizeFM fm_ll = 
single_R fm_L fm_R
 | otherwise = 
double_R fm_L fm_R
single_L fm_l (Branch key_r elt_r _ fm_rl fm_rrmkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rl) fm_rr
single_R (Branch key_l elt_l _ fm_ll fm_lrfm_r mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l sizeFM fm_L
size_r sizeFM fm_R

  mkBranch :: Ord b => Int  ->  b  ->  a  ->  FiniteMap b a  ->  FiniteMap b a  ->  FiniteMap b a
mkBranch which key elt fm_l fm_r 
let 
result Branch key elt (unbox (1 + left_size + right_size)) fm_l fm_r
in result
 where 
balance_ok True
left_ok left_ok0 fm_l key fm_l
left_ok0 fm_l key EmptyFM True
left_ok0 fm_l key (Branch left_key _ _ _ _) 
let 
biggest_left_key fst (findMax fm_l)
in biggest_left_key < key
left_size sizeFM fm_l
right_ok right_ok0 fm_r key fm_r
right_ok0 fm_r key EmptyFM True
right_ok0 fm_r key (Branch right_key _ _ _ _) 
let 
smallest_right_key fst (findMin fm_r)
in key < smallest_right_key
right_size sizeFM fm_r
unbox :: Int  ->  Int
unbox x x

  sIZE_RATIO :: Int
sIZE_RATIO 5

  sizeFM :: FiniteMap a b  ->  Int
sizeFM EmptyFM 0
sizeFM (Branch _ _ size _ _) size

  unitFM :: a  ->  b  ->  FiniteMap a b
unitFM key elt Branch key elt 1 emptyFM emptyFM


module Maybe where
  import qualified FiniteMap
import qualified Prelude



If Reductions:
The following If expression
if primGEqNatS x y then Succ (primDivNatS (primMinusNatS x y) (Succ y)) else Zero

is transformed to
primDivNatS0 x y True = Succ (primDivNatS (primMinusNatS x y) (Succ y))
primDivNatS0 x y False = Zero

The following If expression
if primGEqNatS x y then primModNatS (primMinusNatS x y) (Succ y) else Succ x

is transformed to
primModNatS0 x y True = primModNatS (primMinusNatS x y) (Succ y)
primModNatS0 x y False = Succ x



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
HASKELL
              ↳ BR

mainModule FiniteMap
  ((addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b) :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b)

module FiniteMap where
  import qualified Maybe
import qualified Prelude

  data FiniteMap b a = EmptyFM  | Branch b a Int (FiniteMap b a) (FiniteMap b a


  instance (Eq a, Eq b) => Eq (FiniteMap b a) where 
   
(==) fm_1 fm_2 sizeFM fm_1 == sizeFM fm_2 && fmToList fm_1 == fmToList fm_2

  addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM fm key_elt_pairs addListToFM_C addListToFM0 fm key_elt_pairs

  
addListToFM0 old new new

  addListToFM_C :: Ord b => (a  ->  a  ->  a ->  FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a
addListToFM_C combiner fm key_elt_pairs 
foldl add fm key_elt_pairs where 
add fmap (key,eltaddToFM_C combiner fmap key elt

  addToFM_C :: Ord b => (a  ->  a  ->  a ->  FiniteMap b a  ->  b  ->  a  ->  FiniteMap b a
addToFM_C combiner EmptyFM key elt unitFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt 
 | new_key < key = 
mkBalBranch key elt (addToFM_C combiner fm_l new_key new_elt) fm_r
 | new_key > key = 
mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
 | otherwise = 
Branch new_key (combiner elt new_elt) size fm_l fm_r

  emptyFM :: FiniteMap b a
emptyFM EmptyFM

  findMax :: FiniteMap b a  ->  (b,a)
findMax (Branch key elt _ _ EmptyFM(key,elt)
findMax (Branch key elt _ _ fm_rfindMax fm_r

  findMin :: FiniteMap a b  ->  (a,b)
findMin (Branch key elt _ EmptyFM _) (key,elt)
findMin (Branch key elt _ fm_l _) findMin fm_l

  fmToList :: FiniteMap a b  ->  [(a,b)]
fmToList fm foldFM fmToList0 [] fm

  
fmToList0 key elt rest (key,elt: rest

  foldFM :: (c  ->  b  ->  a  ->  a ->  a  ->  FiniteMap c b  ->  a
foldFM k z EmptyFM z
foldFM k z (Branch key elt _ fm_l fm_rfoldFM k (k key elt (foldFM k z fm_r)) fm_l

  mkBalBranch :: Ord b => b  ->  a  ->  FiniteMap b a  ->  FiniteMap b a  ->  FiniteMap b a
mkBalBranch key elt fm_L fm_R 
 | size_l + size_r < 2 = 
mkBranch 1 key elt fm_L fm_R
 | size_r > sIZE_RATIO * size_l = 
mkBalBranch0 fm_L fm_R fm_R
 | size_l > sIZE_RATIO * size_r = 
mkBalBranch1 fm_L fm_R fm_L
 | otherwise = 
mkBranch 2 key elt fm_L fm_R where 
double_L fm_l (Branch key_r elt_r _ (Branch key_rl elt_rl _ fm_rll fm_rlr) fm_rrmkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l _ fm_ll (Branch key_lr elt_lr _ fm_lrl fm_lrr)) fm_r mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
mkBalBranch0 fm_L fm_R (Branch _ _ _ fm_rl fm_rr
 | sizeFM fm_rl < 2 * sizeFM fm_rr = 
single_L fm_L fm_R
 | otherwise = 
double_L fm_L fm_R
mkBalBranch1 fm_L fm_R (Branch _ _ _ fm_ll fm_lr
 | sizeFM fm_lr < 2 * sizeFM fm_ll = 
single_R fm_L fm_R
 | otherwise = 
double_R fm_L fm_R
single_L fm_l (Branch key_r elt_r _ fm_rl fm_rrmkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rl) fm_rr
single_R (Branch key_l elt_l _ fm_ll fm_lrfm_r mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l sizeFM fm_L
size_r sizeFM fm_R

  mkBranch :: Ord a => Int  ->  a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBranch which key elt fm_l fm_r 
let 
result Branch key elt (unbox (1 + left_size + right_size)) fm_l fm_r
in result
 where 
balance_ok True
left_ok left_ok0 fm_l key fm_l
left_ok0 fm_l key EmptyFM True
left_ok0 fm_l key (Branch left_key _ _ _ _) 
let 
biggest_left_key fst (findMax fm_l)
in biggest_left_key < key
left_size sizeFM fm_l
right_ok right_ok0 fm_r key fm_r
right_ok0 fm_r key EmptyFM True
right_ok0 fm_r key (Branch right_key _ _ _ _) 
let 
smallest_right_key fst (findMin fm_r)
in key < smallest_right_key
right_size sizeFM fm_r
unbox :: Int  ->  Int
unbox x x

  sIZE_RATIO :: Int
sIZE_RATIO 5

  sizeFM :: FiniteMap a b  ->  Int
sizeFM EmptyFM 0
sizeFM (Branch _ _ size _ _) size

  unitFM :: b  ->  a  ->  FiniteMap b a
unitFM key elt Branch key elt 1 emptyFM emptyFM


module Maybe where
  import qualified FiniteMap
import qualified Prelude



Replaced joker patterns by fresh variables and removed binding patterns.

↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
HASKELL
                  ↳ COR

mainModule FiniteMap
  ((addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b) :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b)

module FiniteMap where
  import qualified Maybe
import qualified Prelude

  data FiniteMap b a = EmptyFM  | Branch b a Int (FiniteMap b a) (FiniteMap b a


  instance (Eq a, Eq b) => Eq (FiniteMap a b) where 
   
(==) fm_1 fm_2 sizeFM fm_1 == sizeFM fm_2 && fmToList fm_1 == fmToList fm_2

  addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM fm key_elt_pairs addListToFM_C addListToFM0 fm key_elt_pairs

  
addListToFM0 old new new

  addListToFM_C :: Ord b => (a  ->  a  ->  a ->  FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a
addListToFM_C combiner fm key_elt_pairs 
foldl add fm key_elt_pairs where 
add fmap (key,eltaddToFM_C combiner fmap key elt

  addToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  a  ->  b  ->  FiniteMap a b
addToFM_C combiner EmptyFM key elt unitFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt 
 | new_key < key = 
mkBalBranch key elt (addToFM_C combiner fm_l new_key new_elt) fm_r
 | new_key > key = 
mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
 | otherwise = 
Branch new_key (combiner elt new_elt) size fm_l fm_r

  emptyFM :: FiniteMap a b
emptyFM EmptyFM

  findMax :: FiniteMap a b  ->  (a,b)
findMax (Branch key elt vuv vuw EmptyFM(key,elt)
findMax (Branch key elt vux vuy fm_rfindMax fm_r

  findMin :: FiniteMap a b  ->  (a,b)
findMin (Branch key elt wz EmptyFM xu(key,elt)
findMin (Branch key elt xv fm_l xwfindMin fm_l

  fmToList :: FiniteMap a b  ->  [(a,b)]
fmToList fm foldFM fmToList0 [] fm

  
fmToList0 key elt rest (key,elt: rest

  foldFM :: (a  ->  b  ->  c  ->  c ->  c  ->  FiniteMap a b  ->  c
foldFM k z EmptyFM z
foldFM k z (Branch key elt wy fm_l fm_rfoldFM k (k key elt (foldFM k z fm_r)) fm_l

  mkBalBranch :: Ord b => b  ->  a  ->  FiniteMap b a  ->  FiniteMap b a  ->  FiniteMap b a
mkBalBranch key elt fm_L fm_R 
 | size_l + size_r < 2 = 
mkBranch 1 key elt fm_L fm_R
 | size_r > sIZE_RATIO * size_l = 
mkBalBranch0 fm_L fm_R fm_R
 | size_l > sIZE_RATIO * size_r = 
mkBalBranch1 fm_L fm_R fm_L
 | otherwise = 
mkBranch 2 key elt fm_L fm_R where 
double_L fm_l (Branch key_r elt_r zv (Branch key_rl elt_rl zw fm_rll fm_rlr) fm_rrmkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l yw fm_ll (Branch key_lr elt_lr yx fm_lrl fm_lrr)) fm_r mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
mkBalBranch0 fm_L fm_R (Branch zx zy zz fm_rl fm_rr
 | sizeFM fm_rl < 2 * sizeFM fm_rr = 
single_L fm_L fm_R
 | otherwise = 
double_L fm_L fm_R
mkBalBranch1 fm_L fm_R (Branch yy yz zu fm_ll fm_lr
 | sizeFM fm_lr < 2 * sizeFM fm_ll = 
single_R fm_L fm_R
 | otherwise = 
double_R fm_L fm_R
single_L fm_l (Branch key_r elt_r vuu fm_rl fm_rrmkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rl) fm_rr
single_R (Branch key_l elt_l yv fm_ll fm_lrfm_r mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l sizeFM fm_L
size_r sizeFM fm_R

  mkBranch :: Ord b => Int  ->  b  ->  a  ->  FiniteMap b a  ->  FiniteMap b a  ->  FiniteMap b a
mkBranch which key elt fm_l fm_r 
let 
result Branch key elt (unbox (1 + left_size + right_size)) fm_l fm_r
in result
 where 
balance_ok True
left_ok left_ok0 fm_l key fm_l
left_ok0 fm_l key EmptyFM True
left_ok0 fm_l key (Branch left_key vw vx vy vz
let 
biggest_left_key fst (findMax fm_l)
in biggest_left_key < key
left_size sizeFM fm_l
right_ok right_ok0 fm_r key fm_r
right_ok0 fm_r key EmptyFM True
right_ok0 fm_r key (Branch right_key wu wv ww wx
let 
smallest_right_key fst (findMin fm_r)
in key < smallest_right_key
right_size sizeFM fm_r
unbox :: Int  ->  Int
unbox x x

  sIZE_RATIO :: Int
sIZE_RATIO 5

  sizeFM :: FiniteMap b a  ->  Int
sizeFM EmptyFM 0
sizeFM (Branch xx xy size xz yusize

  unitFM :: a  ->  b  ->  FiniteMap a b
unitFM key elt Branch key elt 1 emptyFM emptyFM


module Maybe where
  import qualified FiniteMap
import qualified Prelude



Cond Reductions:
The following Function with conditions
mkBalBranch1 fm_L fm_R (Branch yy yz zu fm_ll fm_lr)
 | sizeFM fm_lr < 2 * sizeFM fm_ll
 = single_R fm_L fm_R
 | otherwise
 = double_R fm_L fm_R

is transformed to
mkBalBranch1 fm_L fm_R (Branch yy yz zu fm_ll fm_lr) = mkBalBranch12 fm_L fm_R (Branch yy yz zu fm_ll fm_lr)

mkBalBranch10 fm_L fm_R yy yz zu fm_ll fm_lr True = double_R fm_L fm_R

mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr True = single_R fm_L fm_R
mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr False = mkBalBranch10 fm_L fm_R yy yz zu fm_ll fm_lr otherwise

mkBalBranch12 fm_L fm_R (Branch yy yz zu fm_ll fm_lr) = mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr (sizeFM fm_lr < 2 * sizeFM fm_ll)

The following Function with conditions
mkBalBranch0 fm_L fm_R (Branch zx zy zz fm_rl fm_rr)
 | sizeFM fm_rl < 2 * sizeFM fm_rr
 = single_L fm_L fm_R
 | otherwise
 = double_L fm_L fm_R

is transformed to
mkBalBranch0 fm_L fm_R (Branch zx zy zz fm_rl fm_rr) = mkBalBranch02 fm_L fm_R (Branch zx zy zz fm_rl fm_rr)

mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr True = single_L fm_L fm_R
mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr False = mkBalBranch00 fm_L fm_R zx zy zz fm_rl fm_rr otherwise

mkBalBranch00 fm_L fm_R zx zy zz fm_rl fm_rr True = double_L fm_L fm_R

mkBalBranch02 fm_L fm_R (Branch zx zy zz fm_rl fm_rr) = mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr (sizeFM fm_rl < 2 * sizeFM fm_rr)

The following Function with conditions
mkBalBranch key elt fm_L fm_R
 | size_l + size_r < 2
 = mkBranch 1 key elt fm_L fm_R
 | size_r > sIZE_RATIO * size_l
 = mkBalBranch0 fm_L fm_R fm_R
 | size_l > sIZE_RATIO * size_r
 = mkBalBranch1 fm_L fm_R fm_L
 | otherwise
 = mkBranch 2 key elt fm_L fm_R
where 
double_L fm_l (Branch key_r elt_r zv (Branch key_rl elt_rl zw fm_rll fm_rlrfm_rr) = mkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l yw fm_ll (Branch key_lr elt_lr yx fm_lrl fm_lrr)) fm_r = mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
mkBalBranch0 fm_L fm_R (Branch zx zy zz fm_rl fm_rr)
 | sizeFM fm_rl < 2 * sizeFM fm_rr
 = single_L fm_L fm_R
 | otherwise
 = double_L fm_L fm_R
mkBalBranch1 fm_L fm_R (Branch yy yz zu fm_ll fm_lr)
 | sizeFM fm_lr < 2 * sizeFM fm_ll
 = single_R fm_L fm_R
 | otherwise
 = double_R fm_L fm_R
single_L fm_l (Branch key_r elt_r vuu fm_rl fm_rr) = mkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rlfm_rr
single_R (Branch key_l elt_l yv fm_ll fm_lrfm_r = mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l  = sizeFM fm_L
size_r  = sizeFM fm_R

is transformed to
mkBalBranch key elt fm_L fm_R = mkBalBranch6 key elt fm_L fm_R

mkBalBranch6 key elt fm_L fm_R = 
mkBalBranch5 key elt fm_L fm_R (size_l + size_r < 2)
where 
double_L fm_l (Branch key_r elt_r zv (Branch key_rl elt_rl zw fm_rll fm_rlrfm_rr) = mkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l yw fm_ll (Branch key_lr elt_lr yx fm_lrl fm_lrr)) fm_r = mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
mkBalBranch0 fm_L fm_R (Branch zx zy zz fm_rl fm_rr) = mkBalBranch02 fm_L fm_R (Branch zx zy zz fm_rl fm_rr)
mkBalBranch00 fm_L fm_R zx zy zz fm_rl fm_rr True = double_L fm_L fm_R
mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr True = single_L fm_L fm_R
mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr False = mkBalBranch00 fm_L fm_R zx zy zz fm_rl fm_rr otherwise
mkBalBranch02 fm_L fm_R (Branch zx zy zz fm_rl fm_rr) = mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr (sizeFM fm_rl < 2 * sizeFM fm_rr)
mkBalBranch1 fm_L fm_R (Branch yy yz zu fm_ll fm_lr) = mkBalBranch12 fm_L fm_R (Branch yy yz zu fm_ll fm_lr)
mkBalBranch10 fm_L fm_R yy yz zu fm_ll fm_lr True = double_R fm_L fm_R
mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr True = single_R fm_L fm_R
mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr False = mkBalBranch10 fm_L fm_R yy yz zu fm_ll fm_lr otherwise
mkBalBranch12 fm_L fm_R (Branch yy yz zu fm_ll fm_lr) = mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr (sizeFM fm_lr < 2 * sizeFM fm_ll)
mkBalBranch2 key elt fm_L fm_R True = mkBranch 2 key elt fm_L fm_R
mkBalBranch3 key elt fm_L fm_R True = mkBalBranch1 fm_L fm_R fm_L
mkBalBranch3 key elt fm_L fm_R False = mkBalBranch2 key elt fm_L fm_R otherwise
mkBalBranch4 key elt fm_L fm_R True = mkBalBranch0 fm_L fm_R fm_R
mkBalBranch4 key elt fm_L fm_R False = mkBalBranch3 key elt fm_L fm_R (size_l > sIZE_RATIO * size_r)
mkBalBranch5 key elt fm_L fm_R True = mkBranch 1 key elt fm_L fm_R
mkBalBranch5 key elt fm_L fm_R False = mkBalBranch4 key elt fm_L fm_R (size_r > sIZE_RATIO * size_l)
single_L fm_l (Branch key_r elt_r vuu fm_rl fm_rr) = mkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rlfm_rr
single_R (Branch key_l elt_l yv fm_ll fm_lrfm_r = mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l  = sizeFM fm_L
size_r  = sizeFM fm_R

The following Function with conditions
addToFM_C combiner EmptyFM key elt = unitFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt
 | new_key < key
 = mkBalBranch key elt (addToFM_C combiner fm_l new_key new_eltfm_r
 | new_key > key
 = mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
 | otherwise
 = Branch new_key (combiner elt new_eltsize fm_l fm_r

is transformed to
addToFM_C combiner EmptyFM key elt = addToFM_C4 combiner EmptyFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt = addToFM_C3 combiner (Branch key elt size fm_l fm_rnew_key new_elt

addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt True = mkBalBranch key elt (addToFM_C combiner fm_l new_key new_eltfm_r
addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt False = addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt (new_key > key)

addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt True = mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt False = addToFM_C0 combiner key elt size fm_l fm_r new_key new_elt otherwise

addToFM_C0 combiner key elt size fm_l fm_r new_key new_elt True = Branch new_key (combiner elt new_eltsize fm_l fm_r

addToFM_C3 combiner (Branch key elt size fm_l fm_rnew_key new_elt = addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt (new_key < key)

addToFM_C4 combiner EmptyFM key elt = unitFM key elt
addToFM_C4 wuu wuv wuw wux = addToFM_C3 wuu wuv wuw wux

The following Function with conditions
compare x y
 | x == y
 = EQ
 | x <= y
 = LT
 | otherwise
 = GT

is transformed to
compare x y = compare3 x y

compare2 x y True = EQ
compare2 x y False = compare1 x y (x <= y)

compare1 x y True = LT
compare1 x y False = compare0 x y otherwise

compare0 x y True = GT

compare3 x y = compare2 x y (x == y)

The following Function with conditions
gcd' x 0 = x
gcd' x y = gcd' y (x `rem` y)

is transformed to
gcd' x wuy = gcd'2 x wuy
gcd' x y = gcd'0 x y

gcd'0 x y = gcd' y (x `rem` y)

gcd'1 True x wuy = x
gcd'1 wuz wvu wvv = gcd'0 wvu wvv

gcd'2 x wuy = gcd'1 (wuy == 0) x wuy
gcd'2 wvw wvx = gcd'0 wvw wvx

The following Function with conditions
gcd 0 0 = error []
gcd x y = 
gcd' (abs x) (abs y)
where 
gcd' x 0 = x
gcd' x y = gcd' y (x `rem` y)

is transformed to
gcd wvy wvz = gcd3 wvy wvz
gcd x y = gcd0 x y

gcd0 x y = 
gcd' (abs x) (abs y)
where 
gcd' x wuy = gcd'2 x wuy
gcd' x y = gcd'0 x y
gcd'0 x y = gcd' y (x `rem` y)
gcd'1 True x wuy = x
gcd'1 wuz wvu wvv = gcd'0 wvu wvv
gcd'2 x wuy = gcd'1 (wuy == 0) x wuy
gcd'2 wvw wvx = gcd'0 wvw wvx

gcd1 True wvy wvz = error []
gcd1 wwu wwv www = gcd0 wwv www

gcd2 True wvy wvz = gcd1 (wvz == 0) wvy wvz
gcd2 wwx wwy wwz = gcd0 wwy wwz

gcd3 wvy wvz = gcd2 (wvy == 0) wvy wvz
gcd3 wxu wxv = gcd0 wxu wxv

The following Function with conditions
absReal x
 | x >= 0
 = x
 | otherwise
 = `negate` x

is transformed to
absReal x = absReal2 x

absReal1 x True = x
absReal1 x False = absReal0 x otherwise

absReal0 x True = `negate` x

absReal2 x = absReal1 x (x >= 0)

The following Function with conditions
undefined 
 | False
 = undefined

is transformed to
undefined  = undefined1

undefined0 True = undefined

undefined1  = undefined0 False

The following Function with conditions
reduce x y
 | y == 0
 = error []
 | otherwise
 = x `quot` d :% (y `quot` d)
where 
d  = gcd x y

is transformed to
reduce x y = reduce2 x y

reduce2 x y = 
reduce1 x y (y == 0)
where 
d  = gcd x y
reduce0 x y True = x `quot` d :% (y `quot` d)
reduce1 x y True = error []
reduce1 x y False = reduce0 x y otherwise



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
HASKELL
                      ↳ LetRed

mainModule FiniteMap
  ((addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b) :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b)

module FiniteMap where
  import qualified Maybe
import qualified Prelude

  data FiniteMap b a = EmptyFM  | Branch b a Int (FiniteMap b a) (FiniteMap b a


  instance (Eq a, Eq b) => Eq (FiniteMap a b) where 
   
(==) fm_1 fm_2 sizeFM fm_1 == sizeFM fm_2 && fmToList fm_1 == fmToList fm_2

  addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM fm key_elt_pairs addListToFM_C addListToFM0 fm key_elt_pairs

  
addListToFM0 old new new

  addListToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM_C combiner fm key_elt_pairs 
foldl add fm key_elt_pairs where 
add fmap (key,eltaddToFM_C combiner fmap key elt

  addToFM_C :: Ord b => (a  ->  a  ->  a ->  FiniteMap b a  ->  b  ->  a  ->  FiniteMap b a
addToFM_C combiner EmptyFM key elt addToFM_C4 combiner EmptyFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt addToFM_C3 combiner (Branch key elt size fm_l fm_r) new_key new_elt

  
addToFM_C0 combiner key elt size fm_l fm_r new_key new_elt True Branch new_key (combiner elt new_elt) size fm_l fm_r

  
addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt True mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt False addToFM_C0 combiner key elt size fm_l fm_r new_key new_elt otherwise

  
addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt True mkBalBranch key elt (addToFM_C combiner fm_l new_key new_elt) fm_r
addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt False addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt (new_key > key)

  
addToFM_C3 combiner (Branch key elt size fm_l fm_rnew_key new_elt addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt (new_key < key)

  
addToFM_C4 combiner EmptyFM key elt unitFM key elt
addToFM_C4 wuu wuv wuw wux addToFM_C3 wuu wuv wuw wux

  emptyFM :: FiniteMap b a
emptyFM EmptyFM

  findMax :: FiniteMap a b  ->  (a,b)
findMax (Branch key elt vuv vuw EmptyFM(key,elt)
findMax (Branch key elt vux vuy fm_rfindMax fm_r

  findMin :: FiniteMap b a  ->  (b,a)
findMin (Branch key elt wz EmptyFM xu(key,elt)
findMin (Branch key elt xv fm_l xwfindMin fm_l

  fmToList :: FiniteMap b a  ->  [(b,a)]
fmToList fm foldFM fmToList0 [] fm

  
fmToList0 key elt rest (key,elt: rest

  foldFM :: (b  ->  a  ->  c  ->  c ->  c  ->  FiniteMap b a  ->  c
foldFM k z EmptyFM z
foldFM k z (Branch key elt wy fm_l fm_rfoldFM k (k key elt (foldFM k z fm_r)) fm_l

  mkBalBranch :: Ord a => a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBalBranch key elt fm_L fm_R mkBalBranch6 key elt fm_L fm_R

  
mkBalBranch6 key elt fm_L fm_R 
mkBalBranch5 key elt fm_L fm_R (size_l + size_r < 2) where 
double_L fm_l (Branch key_r elt_r zv (Branch key_rl elt_rl zw fm_rll fm_rlr) fm_rrmkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l yw fm_ll (Branch key_lr elt_lr yx fm_lrl fm_lrr)) fm_r mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
mkBalBranch0 fm_L fm_R (Branch zx zy zz fm_rl fm_rrmkBalBranch02 fm_L fm_R (Branch zx zy zz fm_rl fm_rr)
mkBalBranch00 fm_L fm_R zx zy zz fm_rl fm_rr True double_L fm_L fm_R
mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr True single_L fm_L fm_R
mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr False mkBalBranch00 fm_L fm_R zx zy zz fm_rl fm_rr otherwise
mkBalBranch02 fm_L fm_R (Branch zx zy zz fm_rl fm_rrmkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr (sizeFM fm_rl < 2 * sizeFM fm_rr)
mkBalBranch1 fm_L fm_R (Branch yy yz zu fm_ll fm_lrmkBalBranch12 fm_L fm_R (Branch yy yz zu fm_ll fm_lr)
mkBalBranch10 fm_L fm_R yy yz zu fm_ll fm_lr True double_R fm_L fm_R
mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr True single_R fm_L fm_R
mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr False mkBalBranch10 fm_L fm_R yy yz zu fm_ll fm_lr otherwise
mkBalBranch12 fm_L fm_R (Branch yy yz zu fm_ll fm_lrmkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr (sizeFM fm_lr < 2 * sizeFM fm_ll)
mkBalBranch2 key elt fm_L fm_R True mkBranch 2 key elt fm_L fm_R
mkBalBranch3 key elt fm_L fm_R True mkBalBranch1 fm_L fm_R fm_L
mkBalBranch3 key elt fm_L fm_R False mkBalBranch2 key elt fm_L fm_R otherwise
mkBalBranch4 key elt fm_L fm_R True mkBalBranch0 fm_L fm_R fm_R
mkBalBranch4 key elt fm_L fm_R False mkBalBranch3 key elt fm_L fm_R (size_l > sIZE_RATIO * size_r)
mkBalBranch5 key elt fm_L fm_R True mkBranch 1 key elt fm_L fm_R
mkBalBranch5 key elt fm_L fm_R False mkBalBranch4 key elt fm_L fm_R (size_r > sIZE_RATIO * size_l)
single_L fm_l (Branch key_r elt_r vuu fm_rl fm_rrmkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rl) fm_rr
single_R (Branch key_l elt_l yv fm_ll fm_lrfm_r mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l sizeFM fm_L
size_r sizeFM fm_R

  mkBranch :: Ord a => Int  ->  a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBranch which key elt fm_l fm_r 
let 
result Branch key elt (unbox (1 + left_size + right_size)) fm_l fm_r
in result
 where 
balance_ok True
left_ok left_ok0 fm_l key fm_l
left_ok0 fm_l key EmptyFM True
left_ok0 fm_l key (Branch left_key vw vx vy vz
let 
biggest_left_key fst (findMax fm_l)
in biggest_left_key < key
left_size sizeFM fm_l
right_ok right_ok0 fm_r key fm_r
right_ok0 fm_r key EmptyFM True
right_ok0 fm_r key (Branch right_key wu wv ww wx
let 
smallest_right_key fst (findMin fm_r)
in key < smallest_right_key
right_size sizeFM fm_r
unbox :: Int  ->  Int
unbox x x

  sIZE_RATIO :: Int
sIZE_RATIO 5

  sizeFM :: FiniteMap b a  ->  Int
sizeFM EmptyFM 0
sizeFM (Branch xx xy size xz yusize

  unitFM :: b  ->  a  ->  FiniteMap b a
unitFM key elt Branch key elt 1 emptyFM emptyFM


module Maybe where
  import qualified FiniteMap
import qualified Prelude



Let/Where Reductions:
The bindings of the following Let/Where expression
let 
result  = Branch key elt (unbox (1 + left_size + right_size)) fm_l fm_r
in result
where 
balance_ok  = True
left_ok  = left_ok0 fm_l key fm_l
left_ok0 fm_l key EmptyFM = True
left_ok0 fm_l key (Branch left_key vw vx vy vz) = 
let 
biggest_left_key  = fst (findMax fm_l)
in biggest_left_key < key
left_size  = sizeFM fm_l
right_ok  = right_ok0 fm_r key fm_r
right_ok0 fm_r key EmptyFM = True
right_ok0 fm_r key (Branch right_key wu wv ww wx) = 
let 
smallest_right_key  = fst (findMin fm_r)
in key < smallest_right_key
right_size  = sizeFM fm_r
unbox x = x

are unpacked to the following functions on top level
mkBranchRight_ok wxw wxx wxy = mkBranchRight_ok0 wxw wxx wxy wxw wxx wxw

mkBranchLeft_size wxw wxx wxy = sizeFM wxy

mkBranchLeft_ok0 wxw wxx wxy fm_l key EmptyFM = True
mkBranchLeft_ok0 wxw wxx wxy fm_l key (Branch left_key vw vx vy vz) = mkBranchLeft_ok0Biggest_left_key fm_l < key

mkBranchLeft_ok wxw wxx wxy = mkBranchLeft_ok0 wxw wxx wxy wxy wxx wxy

mkBranchBalance_ok wxw wxx wxy = True

mkBranchRight_ok0 wxw wxx wxy fm_r key EmptyFM = True
mkBranchRight_ok0 wxw wxx wxy fm_r key (Branch right_key wu wv ww wx) = key < mkBranchRight_ok0Smallest_right_key fm_r

mkBranchRight_size wxw wxx wxy = sizeFM wxw

mkBranchUnbox wxw wxx wxy x = x

The bindings of the following Let/Where expression
let 
result  = Branch key elt (unbox (1 + left_size + right_size)) fm_l fm_r
in result

are unpacked to the following functions on top level
mkBranchResult wxz wyu wyv wyw = Branch wxz wyu (mkBranchUnbox wyv wxz wyw (1 + mkBranchLeft_size wyv wxz wyw + mkBranchRight_size wyv wxz wyw)) wyw wyv

The bindings of the following Let/Where expression
mkBalBranch5 key elt fm_L fm_R (size_l + size_r < 2)
where 
double_L fm_l (Branch key_r elt_r zv (Branch key_rl elt_rl zw fm_rll fm_rlrfm_rr) = mkBranch 5 key_rl elt_rl (mkBranch 6 key elt fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)
double_R (Branch key_l elt_l yw fm_ll (Branch key_lr elt_lr yx fm_lrl fm_lrr)) fm_r = mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 key elt fm_lrr fm_r)
mkBalBranch0 fm_L fm_R (Branch zx zy zz fm_rl fm_rr) = mkBalBranch02 fm_L fm_R (Branch zx zy zz fm_rl fm_rr)
mkBalBranch00 fm_L fm_R zx zy zz fm_rl fm_rr True = double_L fm_L fm_R
mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr True = single_L fm_L fm_R
mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr False = mkBalBranch00 fm_L fm_R zx zy zz fm_rl fm_rr otherwise
mkBalBranch02 fm_L fm_R (Branch zx zy zz fm_rl fm_rr) = mkBalBranch01 fm_L fm_R zx zy zz fm_rl fm_rr (sizeFM fm_rl < 2 * sizeFM fm_rr)
mkBalBranch1 fm_L fm_R (Branch yy yz zu fm_ll fm_lr) = mkBalBranch12 fm_L fm_R (Branch yy yz zu fm_ll fm_lr)
mkBalBranch10 fm_L fm_R yy yz zu fm_ll fm_lr True = double_R fm_L fm_R
mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr True = single_R fm_L fm_R
mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr False = mkBalBranch10 fm_L fm_R yy yz zu fm_ll fm_lr otherwise
mkBalBranch12 fm_L fm_R (Branch yy yz zu fm_ll fm_lr) = mkBalBranch11 fm_L fm_R yy yz zu fm_ll fm_lr (sizeFM fm_lr < 2 * sizeFM fm_ll)
mkBalBranch2 key elt fm_L fm_R True = mkBranch 2 key elt fm_L fm_R
mkBalBranch3 key elt fm_L fm_R True = mkBalBranch1 fm_L fm_R fm_L
mkBalBranch3 key elt fm_L fm_R False = mkBalBranch2 key elt fm_L fm_R otherwise
mkBalBranch4 key elt fm_L fm_R True = mkBalBranch0 fm_L fm_R fm_R
mkBalBranch4 key elt fm_L fm_R False = mkBalBranch3 key elt fm_L fm_R (size_l > sIZE_RATIO * size_r)
mkBalBranch5 key elt fm_L fm_R True = mkBranch 1 key elt fm_L fm_R
mkBalBranch5 key elt fm_L fm_R False = mkBalBranch4 key elt fm_L fm_R (size_r > sIZE_RATIO * size_l)
single_L fm_l (Branch key_r elt_r vuu fm_rl fm_rr) = mkBranch 3 key_r elt_r (mkBranch 4 key elt fm_l fm_rlfm_rr
single_R (Branch key_l elt_l yv fm_ll fm_lrfm_r = mkBranch 8 key_l elt_l fm_ll (mkBranch 9 key elt fm_lr fm_r)
size_l  = sizeFM fm_L
size_r  = sizeFM fm_R

are unpacked to the following functions on top level
mkBalBranch6MkBalBranch00 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr True = mkBalBranch6Double_L wyx wyy wyz wzu fm_L fm_R

mkBalBranch6Size_r wyx wyy wyz wzu = sizeFM wyx

mkBalBranch6Double_L wyx wyy wyz wzu fm_l (Branch key_r elt_r zv (Branch key_rl elt_rl zw fm_rll fm_rlrfm_rr) = mkBranch 5 key_rl elt_rl (mkBranch 6 wyy wyz fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)

mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R True = mkBalBranch6MkBalBranch1 wyx wyy wyz wzu fm_L fm_R fm_L
mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R False = mkBalBranch6MkBalBranch2 wyx wyy wyz wzu key elt fm_L fm_R otherwise

mkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr True = mkBalBranch6Single_L wyx wyy wyz wzu fm_L fm_R
mkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr False = mkBalBranch6MkBalBranch00 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr otherwise

mkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr True = mkBalBranch6Single_R wyx wyy wyz wzu fm_L fm_R
mkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr False = mkBalBranch6MkBalBranch10 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr otherwise

mkBalBranch6MkBalBranch0 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rr) = mkBalBranch6MkBalBranch02 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rr)

mkBalBranch6MkBalBranch10 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr True = mkBalBranch6Double_R wyx wyy wyz wzu fm_L fm_R

mkBalBranch6MkBalBranch2 wyx wyy wyz wzu key elt fm_L fm_R True = mkBranch 2 key elt fm_L fm_R

mkBalBranch6Single_R wyx wyy wyz wzu (Branch key_l elt_l yv fm_ll fm_lrfm_r = mkBranch 8 key_l elt_l fm_ll (mkBranch 9 wyy wyz fm_lr fm_r)

mkBalBranch6Single_L wyx wyy wyz wzu fm_l (Branch key_r elt_r vuu fm_rl fm_rr) = mkBranch 3 key_r elt_r (mkBranch 4 wyy wyz fm_l fm_rlfm_rr

mkBalBranch6MkBalBranch1 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lr) = mkBalBranch6MkBalBranch12 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lr)

mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R True = mkBalBranch6MkBalBranch0 wyx wyy wyz wzu fm_L fm_R fm_R
mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R False = mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R (mkBalBranch6Size_l wyx wyy wyz wzu > sIZE_RATIO * mkBalBranch6Size_r wyx wyy wyz wzu)

mkBalBranch6Double_R wyx wyy wyz wzu (Branch key_l elt_l yw fm_ll (Branch key_lr elt_lr yx fm_lrl fm_lrr)) fm_r = mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 wyy wyz fm_lrr fm_r)

mkBalBranch6Size_l wyx wyy wyz wzu = sizeFM wzu

mkBalBranch6MkBalBranch02 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rr) = mkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr (sizeFM fm_rl < 2 * sizeFM fm_rr)

mkBalBranch6MkBalBranch12 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lr) = mkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr (sizeFM fm_lr < 2 * sizeFM fm_ll)

mkBalBranch6MkBalBranch5 wyx wyy wyz wzu key elt fm_L fm_R True = mkBranch 1 key elt fm_L fm_R
mkBalBranch6MkBalBranch5 wyx wyy wyz wzu key elt fm_L fm_R False = mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R (mkBalBranch6Size_r wyx wyy wyz wzu > sIZE_RATIO * mkBalBranch6Size_l wyx wyy wyz wzu)

The bindings of the following Let/Where expression
foldl add fm key_elt_pairs
where 
add fmap (key,elt) = addToFM_C combiner fmap key elt

are unpacked to the following functions on top level
addListToFM_CAdd wzv fmap (key,elt) = addToFM_C wzv fmap key elt

The bindings of the following Let/Where expression
let 
biggest_left_key  = fst (findMax fm_l)
in biggest_left_key < key

are unpacked to the following functions on top level
mkBranchLeft_ok0Biggest_left_key wzw = fst (findMax wzw)

The bindings of the following Let/Where expression
let 
smallest_right_key  = fst (findMin fm_r)
in key < smallest_right_key

are unpacked to the following functions on top level
mkBranchRight_ok0Smallest_right_key wzx = fst (findMin wzx)

The bindings of the following Let/Where expression
reduce1 x y (y == 0)
where 
d  = gcd x y
reduce0 x y True = x `quot` d :% (y `quot` d)
reduce1 x y True = error []
reduce1 x y False = reduce0 x y otherwise

are unpacked to the following functions on top level
reduce2D wzy wzz = gcd wzy wzz

reduce2Reduce1 wzy wzz x y True = error []
reduce2Reduce1 wzy wzz x y False = reduce2Reduce0 wzy wzz x y otherwise

reduce2Reduce0 wzy wzz x y True = x `quot` reduce2D wzy wzz :% (y `quot` reduce2D wzy wzz)

The bindings of the following Let/Where expression
gcd' (abs x) (abs y)
where 
gcd' x wuy = gcd'2 x wuy
gcd' x y = gcd'0 x y
gcd'0 x y = gcd' y (x `rem` y)
gcd'1 True x wuy = x
gcd'1 wuz wvu wvv = gcd'0 wvu wvv
gcd'2 x wuy = gcd'1 (wuy == 0) x wuy
gcd'2 wvw wvx = gcd'0 wvw wvx

are unpacked to the following functions on top level
gcd0Gcd'1 True x wuy = x
gcd0Gcd'1 wuz wvu wvv = gcd0Gcd'0 wvu wvv

gcd0Gcd' x wuy = gcd0Gcd'2 x wuy
gcd0Gcd' x y = gcd0Gcd'0 x y

gcd0Gcd'2 x wuy = gcd0Gcd'1 (wuy == 0) x wuy
gcd0Gcd'2 wvw wvx = gcd0Gcd'0 wvw wvx

gcd0Gcd'0 x y = gcd0Gcd' y (x `rem` y)



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
HASKELL
                          ↳ NumRed

mainModule FiniteMap
  ((addListToFM :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a) :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a)

module FiniteMap where
  import qualified Maybe
import qualified Prelude

  data FiniteMap b a = EmptyFM  | Branch b a Int (FiniteMap b a) (FiniteMap b a


  instance (Eq a, Eq b) => Eq (FiniteMap a b) where 
   
(==) fm_1 fm_2 sizeFM fm_1 == sizeFM fm_2 && fmToList fm_1 == fmToList fm_2

  addListToFM :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a
addListToFM fm key_elt_pairs addListToFM_C addListToFM0 fm key_elt_pairs

  
addListToFM0 old new new

  addListToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM_C combiner fm key_elt_pairs foldl (addListToFM_CAdd combiner) fm key_elt_pairs

  
addListToFM_CAdd wzv fmap (key,eltaddToFM_C wzv fmap key elt

  addToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  a  ->  b  ->  FiniteMap a b
addToFM_C combiner EmptyFM key elt addToFM_C4 combiner EmptyFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt addToFM_C3 combiner (Branch key elt size fm_l fm_r) new_key new_elt

  
addToFM_C0 combiner key elt size fm_l fm_r new_key new_elt True Branch new_key (combiner elt new_elt) size fm_l fm_r

  
addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt True mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt False addToFM_C0 combiner key elt size fm_l fm_r new_key new_elt otherwise

  
addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt True mkBalBranch key elt (addToFM_C combiner fm_l new_key new_elt) fm_r
addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt False addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt (new_key > key)

  
addToFM_C3 combiner (Branch key elt size fm_l fm_rnew_key new_elt addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt (new_key < key)

  
addToFM_C4 combiner EmptyFM key elt unitFM key elt
addToFM_C4 wuu wuv wuw wux addToFM_C3 wuu wuv wuw wux

  emptyFM :: FiniteMap a b
emptyFM EmptyFM

  findMax :: FiniteMap b a  ->  (b,a)
findMax (Branch key elt vuv vuw EmptyFM(key,elt)
findMax (Branch key elt vux vuy fm_rfindMax fm_r

  findMin :: FiniteMap b a  ->  (b,a)
findMin (Branch key elt wz EmptyFM xu(key,elt)
findMin (Branch key elt xv fm_l xwfindMin fm_l

  fmToList :: FiniteMap a b  ->  [(a,b)]
fmToList fm foldFM fmToList0 [] fm

  
fmToList0 key elt rest (key,elt: rest

  foldFM :: (b  ->  a  ->  c  ->  c ->  c  ->  FiniteMap b a  ->  c
foldFM k z EmptyFM z
foldFM k z (Branch key elt wy fm_l fm_rfoldFM k (k key elt (foldFM k z fm_r)) fm_l

  mkBalBranch :: Ord a => a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBalBranch key elt fm_L fm_R mkBalBranch6 key elt fm_L fm_R

  
mkBalBranch6 key elt fm_L fm_R mkBalBranch6MkBalBranch5 fm_R key elt fm_L key elt fm_L fm_R (mkBalBranch6Size_l fm_R key elt fm_L + mkBalBranch6Size_r fm_R key elt fm_L < 2)

  
mkBalBranch6Double_L wyx wyy wyz wzu fm_l (Branch key_r elt_r zv (Branch key_rl elt_rl zw fm_rll fm_rlr) fm_rrmkBranch 5 key_rl elt_rl (mkBranch 6 wyy wyz fm_l fm_rll) (mkBranch 7 key_r elt_r fm_rlr fm_rr)

  
mkBalBranch6Double_R wyx wyy wyz wzu (Branch key_l elt_l yw fm_ll (Branch key_lr elt_lr yx fm_lrl fm_lrr)) fm_r mkBranch 10 key_lr elt_lr (mkBranch 11 key_l elt_l fm_ll fm_lrl) (mkBranch 12 wyy wyz fm_lrr fm_r)

  
mkBalBranch6MkBalBranch0 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rrmkBalBranch6MkBalBranch02 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rr)

  
mkBalBranch6MkBalBranch00 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr True mkBalBranch6Double_L wyx wyy wyz wzu fm_L fm_R

  
mkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr True mkBalBranch6Single_L wyx wyy wyz wzu fm_L fm_R
mkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr False mkBalBranch6MkBalBranch00 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr otherwise

  
mkBalBranch6MkBalBranch02 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rrmkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr (sizeFM fm_rl < 2 * sizeFM fm_rr)

  
mkBalBranch6MkBalBranch1 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lrmkBalBranch6MkBalBranch12 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lr)

  
mkBalBranch6MkBalBranch10 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr True mkBalBranch6Double_R wyx wyy wyz wzu fm_L fm_R

  
mkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr True mkBalBranch6Single_R wyx wyy wyz wzu fm_L fm_R
mkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr False mkBalBranch6MkBalBranch10 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr otherwise

  
mkBalBranch6MkBalBranch12 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lrmkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr (sizeFM fm_lr < 2 * sizeFM fm_ll)

  
mkBalBranch6MkBalBranch2 wyx wyy wyz wzu key elt fm_L fm_R True mkBranch 2 key elt fm_L fm_R

  
mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R True mkBalBranch6MkBalBranch1 wyx wyy wyz wzu fm_L fm_R fm_L
mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R False mkBalBranch6MkBalBranch2 wyx wyy wyz wzu key elt fm_L fm_R otherwise

  
mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R True mkBalBranch6MkBalBranch0 wyx wyy wyz wzu fm_L fm_R fm_R
mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R False mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R (mkBalBranch6Size_l wyx wyy wyz wzu > sIZE_RATIO * mkBalBranch6Size_r wyx wyy wyz wzu)

  
mkBalBranch6MkBalBranch5 wyx wyy wyz wzu key elt fm_L fm_R True mkBranch 1 key elt fm_L fm_R
mkBalBranch6MkBalBranch5 wyx wyy wyz wzu key elt fm_L fm_R False mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R (mkBalBranch6Size_r wyx wyy wyz wzu > sIZE_RATIO * mkBalBranch6Size_l wyx wyy wyz wzu)

  
mkBalBranch6Single_L wyx wyy wyz wzu fm_l (Branch key_r elt_r vuu fm_rl fm_rrmkBranch 3 key_r elt_r (mkBranch 4 wyy wyz fm_l fm_rl) fm_rr

  
mkBalBranch6Single_R wyx wyy wyz wzu (Branch key_l elt_l yv fm_ll fm_lrfm_r mkBranch 8 key_l elt_l fm_ll (mkBranch 9 wyy wyz fm_lr fm_r)

  
mkBalBranch6Size_l wyx wyy wyz wzu sizeFM wzu

  
mkBalBranch6Size_r wyx wyy wyz wzu sizeFM wyx

  mkBranch :: Ord a => Int  ->  a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBranch which key elt fm_l fm_r mkBranchResult key elt fm_r fm_l

  
mkBranchBalance_ok wxw wxx wxy True

  
mkBranchLeft_ok wxw wxx wxy mkBranchLeft_ok0 wxw wxx wxy wxy wxx wxy

  
mkBranchLeft_ok0 wxw wxx wxy fm_l key EmptyFM True
mkBranchLeft_ok0 wxw wxx wxy fm_l key (Branch left_key vw vx vy vzmkBranchLeft_ok0Biggest_left_key fm_l < key

  
mkBranchLeft_ok0Biggest_left_key wzw fst (findMax wzw)

  
mkBranchLeft_size wxw wxx wxy sizeFM wxy

  
mkBranchResult wxz wyu wyv wyw Branch wxz wyu (mkBranchUnbox wyv wxz wyw (1 + mkBranchLeft_size wyv wxz wyw + mkBranchRight_size wyv wxz wyw)) wyw wyv

  
mkBranchRight_ok wxw wxx wxy mkBranchRight_ok0 wxw wxx wxy wxw wxx wxw

  
mkBranchRight_ok0 wxw wxx wxy fm_r key EmptyFM True
mkBranchRight_ok0 wxw wxx wxy fm_r key (Branch right_key wu wv ww wxkey < mkBranchRight_ok0Smallest_right_key fm_r

  
mkBranchRight_ok0Smallest_right_key wzx fst (findMin wzx)

  
mkBranchRight_size wxw wxx wxy sizeFM wxw

  mkBranchUnbox :: Ord a =>  ->  (FiniteMap a b) ( ->  a ( ->  (FiniteMap a b) (Int  ->  Int)))
mkBranchUnbox wxw wxx wxy x x

  sIZE_RATIO :: Int
sIZE_RATIO 5

  sizeFM :: FiniteMap a b  ->  Int
sizeFM EmptyFM 0
sizeFM (Branch xx xy size xz yusize

  unitFM :: a  ->  b  ->  FiniteMap a b
unitFM key elt Branch key elt 1 emptyFM emptyFM


module Maybe where
  import qualified FiniteMap
import qualified Prelude



Num Reduction: All numbers are transformed to thier corresponding representation with Pos, Neg, Succ and Zero.

↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
HASKELL
                              ↳ Narrow

mainModule FiniteMap
  (addListToFM :: Ord b => FiniteMap b a  ->  [(b,a)]  ->  FiniteMap b a)

module FiniteMap where
  import qualified Maybe
import qualified Prelude

  data FiniteMap a b = EmptyFM  | Branch a b Int (FiniteMap a b) (FiniteMap a b


  instance (Eq a, Eq b) => Eq (FiniteMap b a) where 
   
(==) fm_1 fm_2 sizeFM fm_1 == sizeFM fm_2 && fmToList fm_1 == fmToList fm_2

  addListToFM :: Ord a => FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM fm key_elt_pairs addListToFM_C addListToFM0 fm key_elt_pairs

  
addListToFM0 old new new

  addListToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  [(a,b)]  ->  FiniteMap a b
addListToFM_C combiner fm key_elt_pairs foldl (addListToFM_CAdd combiner) fm key_elt_pairs

  
addListToFM_CAdd wzv fmap (key,eltaddToFM_C wzv fmap key elt

  addToFM_C :: Ord a => (b  ->  b  ->  b ->  FiniteMap a b  ->  a  ->  b  ->  FiniteMap a b
addToFM_C combiner EmptyFM key elt addToFM_C4 combiner EmptyFM key elt
addToFM_C combiner (Branch key elt size fm_l fm_rnew_key new_elt addToFM_C3 combiner (Branch key elt size fm_l fm_r) new_key new_elt

  
addToFM_C0 combiner key elt size fm_l fm_r new_key new_elt True Branch new_key (combiner elt new_elt) size fm_l fm_r

  
addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt True mkBalBranch key elt fm_l (addToFM_C combiner fm_r new_key new_elt)
addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt False addToFM_C0 combiner key elt size fm_l fm_r new_key new_elt otherwise

  
addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt True mkBalBranch key elt (addToFM_C combiner fm_l new_key new_elt) fm_r
addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt False addToFM_C1 combiner key elt size fm_l fm_r new_key new_elt (new_key > key)

  
addToFM_C3 combiner (Branch key elt size fm_l fm_rnew_key new_elt addToFM_C2 combiner key elt size fm_l fm_r new_key new_elt (new_key < key)

  
addToFM_C4 combiner EmptyFM key elt unitFM key elt
addToFM_C4 wuu wuv wuw wux addToFM_C3 wuu wuv wuw wux

  emptyFM :: FiniteMap b a
emptyFM EmptyFM

  findMax :: FiniteMap b a  ->  (b,a)
findMax (Branch key elt vuv vuw EmptyFM(key,elt)
findMax (Branch key elt vux vuy fm_rfindMax fm_r

  findMin :: FiniteMap b a  ->  (b,a)
findMin (Branch key elt wz EmptyFM xu(key,elt)
findMin (Branch key elt xv fm_l xwfindMin fm_l

  fmToList :: FiniteMap b a  ->  [(b,a)]
fmToList fm foldFM fmToList0 [] fm

  
fmToList0 key elt rest (key,elt: rest

  foldFM :: (c  ->  b  ->  a  ->  a ->  a  ->  FiniteMap c b  ->  a
foldFM k z EmptyFM z
foldFM k z (Branch key elt wy fm_l fm_rfoldFM k (k key elt (foldFM k z fm_r)) fm_l

  mkBalBranch :: Ord a => a  ->  b  ->  FiniteMap a b  ->  FiniteMap a b  ->  FiniteMap a b
mkBalBranch key elt fm_L fm_R mkBalBranch6 key elt fm_L fm_R

  
mkBalBranch6 key elt fm_L fm_R mkBalBranch6MkBalBranch5 fm_R key elt fm_L key elt fm_L fm_R (mkBalBranch6Size_l fm_R key elt fm_L + mkBalBranch6Size_r fm_R key elt fm_L < Pos (Succ (Succ Zero)))

  
mkBalBranch6Double_L wyx wyy wyz wzu fm_l (Branch key_r elt_r zv (Branch key_rl elt_rl zw fm_rll fm_rlr) fm_rrmkBranch (Pos (Succ (Succ (Succ (Succ (Succ Zero)))))) key_rl elt_rl (mkBranch (Pos (Succ (Succ (Succ (Succ (Succ (Succ Zero))))))) wyy wyz fm_l fm_rll) (mkBranch (Pos (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero)))))))) key_r elt_r fm_rlr fm_rr)

  
mkBalBranch6Double_R wyx wyy wyz wzu (Branch key_l elt_l yw fm_ll (Branch key_lr elt_lr yx fm_lrl fm_lrr)) fm_r mkBranch (Pos (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero))))))))))) key_lr elt_lr (mkBranch (Pos (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero)))))))))))) key_l elt_l fm_ll fm_lrl) (mkBranch (Pos (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero))))))))))))) wyy wyz fm_lrr fm_r)

  
mkBalBranch6MkBalBranch0 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rrmkBalBranch6MkBalBranch02 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rr)

  
mkBalBranch6MkBalBranch00 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr True mkBalBranch6Double_L wyx wyy wyz wzu fm_L fm_R

  
mkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr True mkBalBranch6Single_L wyx wyy wyz wzu fm_L fm_R
mkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr False mkBalBranch6MkBalBranch00 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr otherwise

  
mkBalBranch6MkBalBranch02 wyx wyy wyz wzu fm_L fm_R (Branch zx zy zz fm_rl fm_rrmkBalBranch6MkBalBranch01 wyx wyy wyz wzu fm_L fm_R zx zy zz fm_rl fm_rr (sizeFM fm_rl < Pos (Succ (Succ Zero)) * sizeFM fm_rr)

  
mkBalBranch6MkBalBranch1 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lrmkBalBranch6MkBalBranch12 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lr)

  
mkBalBranch6MkBalBranch10 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr True mkBalBranch6Double_R wyx wyy wyz wzu fm_L fm_R

  
mkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr True mkBalBranch6Single_R wyx wyy wyz wzu fm_L fm_R
mkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr False mkBalBranch6MkBalBranch10 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr otherwise

  
mkBalBranch6MkBalBranch12 wyx wyy wyz wzu fm_L fm_R (Branch yy yz zu fm_ll fm_lrmkBalBranch6MkBalBranch11 wyx wyy wyz wzu fm_L fm_R yy yz zu fm_ll fm_lr (sizeFM fm_lr < Pos (Succ (Succ Zero)) * sizeFM fm_ll)

  
mkBalBranch6MkBalBranch2 wyx wyy wyz wzu key elt fm_L fm_R True mkBranch (Pos (Succ (Succ Zero))) key elt fm_L fm_R

  
mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R True mkBalBranch6MkBalBranch1 wyx wyy wyz wzu fm_L fm_R fm_L
mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R False mkBalBranch6MkBalBranch2 wyx wyy wyz wzu key elt fm_L fm_R otherwise

  
mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R True mkBalBranch6MkBalBranch0 wyx wyy wyz wzu fm_L fm_R fm_R
mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R False mkBalBranch6MkBalBranch3 wyx wyy wyz wzu key elt fm_L fm_R (mkBalBranch6Size_l wyx wyy wyz wzu > sIZE_RATIO * mkBalBranch6Size_r wyx wyy wyz wzu)

  
mkBalBranch6MkBalBranch5 wyx wyy wyz wzu key elt fm_L fm_R True mkBranch (Pos (Succ Zero)) key elt fm_L fm_R
mkBalBranch6MkBalBranch5 wyx wyy wyz wzu key elt fm_L fm_R False mkBalBranch6MkBalBranch4 wyx wyy wyz wzu key elt fm_L fm_R (mkBalBranch6Size_r wyx wyy wyz wzu > sIZE_RATIO * mkBalBranch6Size_l wyx wyy wyz wzu)

  
mkBalBranch6Single_L wyx wyy wyz wzu fm_l (Branch key_r elt_r vuu fm_rl fm_rrmkBranch (Pos (Succ (Succ (Succ Zero)))) key_r elt_r (mkBranch (Pos (Succ (Succ (Succ (Succ Zero))))) wyy wyz fm_l fm_rl) fm_rr

  
mkBalBranch6Single_R wyx wyy wyz wzu (Branch key_l elt_l yv fm_ll fm_lrfm_r mkBranch (Pos (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero))))))))) key_l elt_l fm_ll (mkBranch (Pos (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ (Succ Zero)))))))))) wyy wyz fm_lr fm_r)

  
mkBalBranch6Size_l wyx wyy wyz wzu sizeFM wzu

  
mkBalBranch6Size_r wyx wyy wyz wzu sizeFM wyx

  mkBranch :: Ord b => Int  ->  b  ->  a  ->  FiniteMap b a  ->  FiniteMap b a  ->  FiniteMap b a
mkBranch which key elt fm_l fm_r mkBranchResult key elt fm_r fm_l

  
mkBranchBalance_ok wxw wxx wxy True

  
mkBranchLeft_ok wxw wxx wxy mkBranchLeft_ok0 wxw wxx wxy wxy wxx wxy

  
mkBranchLeft_ok0 wxw wxx wxy fm_l key EmptyFM True
mkBranchLeft_ok0 wxw wxx wxy fm_l key (Branch left_key vw vx vy vzmkBranchLeft_ok0Biggest_left_key fm_l < key

  
mkBranchLeft_ok0Biggest_left_key wzw fst (findMax wzw)

  
mkBranchLeft_size wxw wxx wxy sizeFM wxy

  
mkBranchResult wxz wyu wyv wyw Branch wxz wyu (mkBranchUnbox wyv wxz wyw (Pos (Succ Zero+ mkBranchLeft_size wyv wxz wyw + mkBranchRight_size wyv wxz wyw)) wyw wyv

  
mkBranchRight_ok wxw wxx wxy mkBranchRight_ok0 wxw wxx wxy wxw wxx wxw

  
mkBranchRight_ok0 wxw wxx wxy fm_r key EmptyFM True
mkBranchRight_ok0 wxw wxx wxy fm_r key (Branch right_key wu wv ww wxkey < mkBranchRight_ok0Smallest_right_key fm_r

  
mkBranchRight_ok0Smallest_right_key wzx fst (findMin wzx)

  
mkBranchRight_size wxw wxx wxy sizeFM wxw

  mkBranchUnbox :: Ord a =>  ->  (FiniteMap a b) ( ->  a ( ->  (FiniteMap a b) (Int  ->  Int)))
mkBranchUnbox wxw wxx wxy x x

  sIZE_RATIO :: Int
sIZE_RATIO Pos (Succ (Succ (Succ (Succ (Succ Zero)))))

  sizeFM :: FiniteMap a b  ->  Int
sizeFM EmptyFM Pos Zero
sizeFM (Branch xx xy size xz yusize

  unitFM :: b  ->  a  ->  FiniteMap b a
unitFM key elt Branch key elt (Pos (Succ Zero)) emptyFM emptyFM


module Maybe where
  import qualified FiniteMap
import qualified Prelude



Haskell To QDPs


↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
QDP
                                    ↳ QDPSizeChangeProof
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

new_primEqNat(Succ(xuu400000), Succ(xuu30000)) → new_primEqNat(xuu400000, xuu30000)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
                                  ↳ QDP
QDP
                                    ↳ QDPSizeChangeProof
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

new_primCmpNat(Succ(xuu40000), Succ(xuu3000)) → new_primCmpNat(xuu40000, xuu3000)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
                                  ↳ QDP
                                  ↳ QDP
QDP
                                    ↳ QDPSizeChangeProof
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

new_primMinusNat(Succ(xuu39200), Succ(xuu13400)) → new_primMinusNat(xuu39200, xuu13400)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
QDP
                                    ↳ QDPSizeChangeProof
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

new_primPlusNat(Succ(xuu39200), Succ(xuu13400)) → new_primPlusNat(xuu39200, xuu13400)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
QDP
                                    ↳ QDPSizeChangeProof
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

new_primMulNat(Succ(xuu400100), Succ(xuu30100)) → new_primMulNat(xuu400100, Succ(xuu30100))

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
QDP
                                    ↳ QDPSizeChangeProof
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, app(app(ty_@2, ec), ed), dg) → new_esEs1(xuu40001, xuu3001, ec, ed)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), app(app(app(ty_@3, hf), hg), hh), he) → new_esEs0(xuu40000, xuu3000, hf, hg, hh)
new_esEs3(Right(xuu40000), Right(xuu3000), bda, app(ty_[], bdb)) → new_esEs(xuu40000, xuu3000, bdb)
new_esEs2(Just(xuu40000), Just(xuu3000), app(ty_[], baf)) → new_esEs(xuu40000, xuu3000, baf)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, cc, app(app(ty_Either, dd), de)) → new_esEs3(xuu40002, xuu3002, dd, de)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), app(ty_Maybe, fg), cc, dg) → new_esEs2(xuu40000, xuu3000, fg)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, cc, app(ty_Maybe, dc)) → new_esEs2(xuu40002, xuu3002, dc)
new_esEs3(Right(xuu40000), Right(xuu3000), bda, app(app(ty_Either, bea), beb)) → new_esEs3(xuu40000, xuu3000, bea, beb)
new_esEs3(Left(xuu40000), Left(xuu3000), app(ty_[], bbg), bbh) → new_esEs(xuu40000, xuu3000, bbg)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, cc, app(ty_[], cd)) → new_esEs(xuu40002, xuu3002, cd)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, app(app(app(ty_@3, dh), ea), eb), dg) → new_esEs0(xuu40001, xuu3001, dh, ea, eb)
new_esEs2(Just(xuu40000), Just(xuu3000), app(ty_Maybe, bbd)) → new_esEs2(xuu40000, xuu3000, bbd)
new_esEs3(Right(xuu40000), Right(xuu3000), bda, app(app(app(ty_@3, bdc), bdd), bde)) → new_esEs0(xuu40000, xuu3000, bdc, bdd, bde)
new_esEs3(Left(xuu40000), Left(xuu3000), app(app(ty_Either, bcg), bch), bbh) → new_esEs3(xuu40000, xuu3000, bcg, bch)
new_esEs2(Just(xuu40000), Just(xuu3000), app(app(ty_@2, bbb), bbc)) → new_esEs1(xuu40000, xuu3000, bbb, bbc)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), gb, app(ty_[], gc)) → new_esEs(xuu40001, xuu3001, gc)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), app(ty_Maybe, bac), he) → new_esEs2(xuu40000, xuu3000, bac)
new_esEs(:(xuu40000, xuu40001), :(xuu3000, xuu3001), app(ty_Maybe, bg)) → new_esEs2(xuu40000, xuu3000, bg)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), app(ty_[], hd), he) → new_esEs(xuu40000, xuu3000, hd)
new_esEs3(Left(xuu40000), Left(xuu3000), app(app(app(ty_@3, bca), bcb), bcc), bbh) → new_esEs0(xuu40000, xuu3000, bca, bcb, bcc)
new_esEs2(Just(xuu40000), Just(xuu3000), app(app(app(ty_@3, bag), bah), bba)) → new_esEs0(xuu40000, xuu3000, bag, bah, bba)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), gb, app(app(ty_Either, hb), hc)) → new_esEs3(xuu40001, xuu3001, hb, hc)
new_esEs(:(xuu40000, xuu40001), :(xuu3000, xuu3001), app(app(ty_@2, be), bf)) → new_esEs1(xuu40000, xuu3000, be, bf)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), gb, app(app(ty_@2, gg), gh)) → new_esEs1(xuu40001, xuu3001, gg, gh)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, cc, app(app(ty_@2, da), db)) → new_esEs1(xuu40002, xuu3002, da, db)
new_esEs3(Left(xuu40000), Left(xuu3000), app(ty_Maybe, bcf), bbh) → new_esEs2(xuu40000, xuu3000, bcf)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), app(ty_[], eh), cc, dg) → new_esEs(xuu40000, xuu3000, eh)
new_esEs(:(xuu40000, xuu40001), :(xuu3000, xuu3001), h) → new_esEs(xuu40001, xuu3001, h)
new_esEs(:(xuu40000, xuu40001), :(xuu3000, xuu3001), app(app(ty_Either, bh), ca)) → new_esEs3(xuu40000, xuu3000, bh, ca)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, cc, app(app(app(ty_@3, ce), cf), cg)) → new_esEs0(xuu40002, xuu3002, ce, cf, cg)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, app(ty_[], df), dg) → new_esEs(xuu40001, xuu3001, df)
new_esEs3(Left(xuu40000), Left(xuu3000), app(app(ty_@2, bcd), bce), bbh) → new_esEs1(xuu40000, xuu3000, bcd, bce)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), app(app(ty_Either, fh), ga), cc, dg) → new_esEs3(xuu40000, xuu3000, fh, ga)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), app(app(ty_@2, baa), bab), he) → new_esEs1(xuu40000, xuu3000, baa, bab)
new_esEs(:(xuu40000, xuu40001), :(xuu3000, xuu3001), app(app(app(ty_@3, bb), bc), bd)) → new_esEs0(xuu40000, xuu3000, bb, bc, bd)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), app(app(ty_@2, fd), ff), cc, dg) → new_esEs1(xuu40000, xuu3000, fd, ff)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), app(app(ty_Either, bad), bae), he) → new_esEs3(xuu40000, xuu3000, bad, bae)
new_esEs3(Right(xuu40000), Right(xuu3000), bda, app(ty_Maybe, bdh)) → new_esEs2(xuu40000, xuu3000, bdh)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), gb, app(ty_Maybe, ha)) → new_esEs2(xuu40001, xuu3001, ha)
new_esEs3(Right(xuu40000), Right(xuu3000), bda, app(app(ty_@2, bdf), bdg)) → new_esEs1(xuu40000, xuu3000, bdf, bdg)
new_esEs2(Just(xuu40000), Just(xuu3000), app(app(ty_Either, bbe), bbf)) → new_esEs3(xuu40000, xuu3000, bbe, bbf)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, app(ty_Maybe, ee), dg) → new_esEs2(xuu40001, xuu3001, ee)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), cb, app(app(ty_Either, ef), eg), dg) → new_esEs3(xuu40001, xuu3001, ef, eg)
new_esEs(:(xuu40000, xuu40001), :(xuu3000, xuu3001), app(ty_[], ba)) → new_esEs(xuu40000, xuu3000, ba)
new_esEs1(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), gb, app(app(app(ty_@3, gd), ge), gf)) → new_esEs0(xuu40001, xuu3001, gd, ge, gf)
new_esEs0(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), app(app(app(ty_@3, fa), fb), fc), cc, dg) → new_esEs0(xuu40000, xuu3000, fa, fb, fc)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
QDP
                                    ↳ QDPSizeChangeProof
                                  ↳ QDP
                                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

new_lt2(Left(xuu4000), Left(xuu300), caf, cag) → new_compare22(xuu4000, xuu300, new_esEs8(xuu4000, xuu300, caf), caf, cag)
new_ltEs0(Just(xuu550), Just(xuu560), app(app(app(ty_@3, cf), cg), da)) → new_ltEs1(xuu550, xuu560, cf, cg, da)
new_compare20(Right(xuu550), Right(xuu560), False, app(app(ty_Either, bag), app(app(app(ty_@3, bbb), bbc), bbd))) → new_ltEs1(xuu550, xuu560, bbb, bbc, bbd)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, ccd, app(ty_[], cce)) → new_ltEs(xuu122, xuu124, cce)
new_compare20(Left(xuu550), Left(xuu560), False, app(app(ty_Either, app(app(ty_@2, bae), baf)), hf)) → new_ltEs3(xuu550, xuu560, bae, baf)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, app(app(app(ty_@3, fd), ff), fg), dh) → new_lt1(xuu551, xuu561, fd, ff, fg)
new_compare22(xuu77, xuu78, False, app(ty_[], cah), cba) → new_ltEs(xuu77, xuu78, cah)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), app(ty_[], df), dg, dh) → new_lt(xuu550, xuu560, df)
new_lt(:(xuu4000, xuu4001), :(xuu300, xuu301), h) → new_primCompAux(xuu4000, xuu300, new_compare(xuu4001, xuu301, h), h)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, bdc), app(ty_[], bdd))) → new_ltEs(xuu551, xuu561, bdd)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), app(ty_[], bca), bcb) → new_lt(xuu550, xuu560, bca)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), app(app(ty_Either, bcg), bch), bcb) → new_lt2(xuu550, xuu560, bcg, bch)
new_lt(:(xuu4000, xuu4001), :(xuu300, xuu301), h) → new_compare0(xuu4001, xuu301, h)
new_compare22(xuu77, xuu78, False, app(app(ty_@2, cbh), cca), cba) → new_ltEs3(xuu77, xuu78, cbh, cca)
new_compare0(:(xuu4000, xuu4001), :(xuu300, xuu301), h) → new_compare0(xuu4001, xuu301, h)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), bdc, app(app(app(ty_@3, bdf), bdg), bdh)) → new_ltEs1(xuu551, xuu561, bdf, bdg, bdh)
new_ltEs2(Left(xuu550), Left(xuu560), app(app(ty_Either, bac), bad), hf) → new_ltEs2(xuu550, xuu560, bac, bad)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, bgc, app(app(ty_Either, bha), bhb)) → new_ltEs2(xuu110, xuu113, bha, bhb)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, app(ty_Maybe, fc), dh) → new_lt0(xuu551, xuu561, fc)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, bgc, app(ty_[], bgd)) → new_ltEs(xuu110, xuu113, bgd)
new_ltEs0(Just(xuu550), Just(xuu560), app(ty_Maybe, ce)) → new_ltEs0(xuu550, xuu560, ce)
new_compare20(Right(xuu550), Right(xuu560), False, app(app(ty_Either, bag), app(app(ty_@2, bbg), bbh))) → new_ltEs3(xuu550, xuu560, bbg, bbh)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, app(ty_[], cdf), cdg) → new_lt(xuu121, xuu123, cdf)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, app(app(app(ty_@3, bcd), bce), bcf)), bcb)) → new_lt1(xuu550, xuu560, bcd, bce, bcf)
new_compare20(Just(xuu550), Just(xuu560), False, app(ty_Maybe, app(ty_Maybe, ce))) → new_ltEs0(xuu550, xuu560, ce)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, app(app(ty_@2, eg), eh)), dg), dh)) → new_lt3(xuu550, xuu560, eg, eh)
new_compare1(Just(xuu4000), Just(xuu300), cb) → new_compare20(xuu4000, xuu300, new_esEs4(xuu4000, xuu300, cb), cb)
new_ltEs2(Right(xuu550), Right(xuu560), bag, app(ty_Maybe, bba)) → new_ltEs0(xuu550, xuu560, bba)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, app(app(ty_Either, ee), ef)), dg), dh)) → new_lt2(xuu550, xuu560, ee, ef)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, app(app(ty_@2, bga), bgb), bfb) → new_lt3(xuu109, xuu112, bga, bgb)
new_lt0(Just(xuu4000), Just(xuu300), cb) → new_compare20(xuu4000, xuu300, new_esEs4(xuu4000, xuu300, cb), cb)
new_compare20(Right(xuu550), Right(xuu560), False, app(app(ty_Either, bag), app(app(ty_Either, bbe), bbf))) → new_ltEs2(xuu550, xuu560, bbe, bbf)
new_compare3(Left(xuu4000), Left(xuu300), caf, cag) → new_compare22(xuu4000, xuu300, new_esEs8(xuu4000, xuu300, caf), caf, cag)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), app(app(ty_@2, eg), eh), dg, dh) → new_lt3(xuu550, xuu560, eg, eh)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), bdc, app(app(ty_@2, bec), bed)) → new_ltEs3(xuu551, xuu561, bec, bed)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, app(app(ty_@2, cad), cae), bgc, bfb) → new_lt3(xuu108, xuu111, cad, cae)
new_ltEs2(Right(xuu550), Right(xuu560), bag, app(app(ty_@2, bbg), bbh)) → new_ltEs3(xuu550, xuu560, bbg, bbh)
new_compare3(Right(xuu4000), Right(xuu300), caf, cag) → new_compare23(xuu4000, xuu300, new_esEs9(xuu4000, xuu300, cag), caf, cag)
new_lt1(@3(xuu4000, xuu4001, xuu4002), @3(xuu300, xuu301, xuu302), bee, bef, beg) → new_compare21(xuu4000, xuu4001, xuu4002, xuu300, xuu301, xuu302, new_asAs(new_esEs7(xuu4000, xuu300, bee), new_asAs(new_esEs6(xuu4001, xuu301, bef), new_esEs5(xuu4002, xuu302, beg))), bee, bef, beg)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, bdc), app(app(app(ty_@3, bdf), bdg), bdh))) → new_ltEs1(xuu551, xuu561, bdf, bdg, bdh)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, app(app(app(ty_@3, bfd), bfe), bff), bfb) → new_lt1(xuu109, xuu112, bfd, bfe, bff)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), dg), app(ty_[], gd))) → new_ltEs(xuu552, xuu562, gd)
new_ltEs(xuu55, xuu56, cc) → new_compare0(xuu55, xuu56, cc)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, bdc), app(app(ty_Either, bea), beb))) → new_ltEs2(xuu551, xuu561, bea, beb)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), dg), app(app(app(ty_@3, gf), gg), gh))) → new_ltEs1(xuu552, xuu562, gf, gg, gh)
new_ltEs0(Just(xuu550), Just(xuu560), app(ty_[], cd)) → new_ltEs(xuu550, xuu560, cd)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, ccd, app(ty_Maybe, ccf)) → new_ltEs0(xuu122, xuu124, ccf)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), app(app(ty_@2, bda), bdb), bcb) → new_lt3(xuu550, xuu560, bda, bdb)
new_lt3(@2(xuu4000, xuu4001), @2(xuu300, xuu301), ccb, ccc) → new_compare24(xuu4000, xuu4001, xuu300, xuu301, new_asAs(new_esEs11(xuu4000, xuu300, ccb), new_esEs10(xuu4001, xuu301, ccc)), ccb, ccc)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, app(ty_[], bfa), bfb) → new_lt(xuu109, xuu112, bfa)
new_primCompAux(xuu4000, xuu300, xuu45, app(ty_Maybe, bb)) → new_compare1(xuu4000, xuu300, bb)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, dg, app(ty_[], gd)) → new_ltEs(xuu552, xuu562, gd)
new_primCompAux(xuu4000, xuu300, xuu45, app(app(ty_Either, bf), bg)) → new_compare3(xuu4000, xuu300, bf, bg)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, dg, app(app(app(ty_@3, gf), gg), gh)) → new_ltEs1(xuu552, xuu562, gf, gg, gh)
new_compare20(Just(xuu550), Just(xuu560), False, app(ty_Maybe, app(app(ty_@2, dd), de))) → new_ltEs3(xuu550, xuu560, dd, de)
new_ltEs0(Just(xuu550), Just(xuu560), app(app(ty_Either, db), dc)) → new_ltEs2(xuu550, xuu560, db, dc)
new_compare22(xuu77, xuu78, False, app(app(ty_Either, cbf), cbg), cba) → new_ltEs2(xuu77, xuu78, cbf, cbg)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), bdc, app(app(ty_Either, bea), beb)) → new_ltEs2(xuu551, xuu561, bea, beb)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, app(app(ty_Either, bfg), bfh), bfb) → new_lt2(xuu109, xuu112, bfg, bfh)
new_compare23(xuu84, xuu85, False, ceh, app(app(ty_@2, cfh), cga)) → new_ltEs3(xuu84, xuu85, cfh, cga)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, app(app(ty_Either, bcg), bch)), bcb)) → new_lt2(xuu550, xuu560, bcg, bch)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, app(ty_[], df)), dg), dh)) → new_lt(xuu550, xuu560, df)
new_compare23(xuu84, xuu85, False, ceh, app(app(app(ty_@3, cfc), cfd), cfe)) → new_ltEs1(xuu84, xuu85, cfc, cfd, cfe)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, ccd, app(app(ty_Either, cdb), cdc)) → new_ltEs2(xuu122, xuu124, cdb, cdc)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, app(ty_Maybe, bcc)), bcb)) → new_lt0(xuu550, xuu560, bcc)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), app(app(app(ty_@3, bcd), bce), bcf), bcb) → new_lt1(xuu550, xuu560, bcd, bce, bcf)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), dg), app(ty_Maybe, ge))) → new_ltEs0(xuu552, xuu562, ge)
new_compare0(:(xuu4000, xuu4001), :(xuu300, xuu301), h) → new_primCompAux(xuu4000, xuu300, new_compare(xuu4001, xuu301, h), h)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, bgc, app(ty_Maybe, bge)) → new_ltEs0(xuu110, xuu113, bge)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, dg, app(app(ty_@2, hc), hd)) → new_ltEs3(xuu552, xuu562, hc, hd)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, bdc), app(ty_Maybe, bde))) → new_ltEs0(xuu551, xuu561, bde)
new_compare23(xuu84, xuu85, False, ceh, app(ty_[], cfa)) → new_ltEs(xuu84, xuu85, cfa)
new_ltEs0(Just(xuu550), Just(xuu560), app(app(ty_@2, dd), de)) → new_ltEs3(xuu550, xuu560, dd, de)
new_compare4(@2(xuu4000, xuu4001), @2(xuu300, xuu301), ccb, ccc) → new_compare24(xuu4000, xuu4001, xuu300, xuu301, new_asAs(new_esEs11(xuu4000, xuu300, ccb), new_esEs10(xuu4001, xuu301, ccc)), ccb, ccc)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), bdc, app(ty_Maybe, bde)) → new_ltEs0(xuu551, xuu561, bde)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), dg), app(app(ty_@2, hc), hd))) → new_ltEs3(xuu552, xuu562, hc, hd)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, bgc, app(app(app(ty_@3, bgf), bgg), bgh)) → new_ltEs1(xuu110, xuu113, bgf, bgg, bgh)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, app(app(ty_@2, bda), bdb)), bcb)) → new_lt3(xuu550, xuu560, bda, bdb)
new_lt2(Right(xuu4000), Right(xuu300), caf, cag) → new_compare23(xuu4000, xuu300, new_esEs9(xuu4000, xuu300, cag), caf, cag)
new_compare20(Left(xuu550), Left(xuu560), False, app(app(ty_Either, app(app(ty_Either, bac), bad)), hf)) → new_ltEs2(xuu550, xuu560, bac, bad)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, app(app(ty_@2, gb), gc), dh) → new_lt3(xuu551, xuu561, gb, gc)
new_compare2(@3(xuu4000, xuu4001, xuu4002), @3(xuu300, xuu301, xuu302), bee, bef, beg) → new_compare21(xuu4000, xuu4001, xuu4002, xuu300, xuu301, xuu302, new_asAs(new_esEs7(xuu4000, xuu300, bee), new_asAs(new_esEs6(xuu4001, xuu301, bef), new_esEs5(xuu4002, xuu302, beg))), bee, bef, beg)
new_ltEs2(Right(xuu550), Right(xuu560), bag, app(ty_[], bah)) → new_ltEs(xuu550, xuu560, bah)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, bgc, app(app(ty_@2, bhc), bhd)) → new_ltEs3(xuu110, xuu113, bhc, bhd)
new_ltEs2(Left(xuu550), Left(xuu560), app(app(ty_@2, bae), baf), hf) → new_ltEs3(xuu550, xuu560, bae, baf)
new_ltEs2(Left(xuu550), Left(xuu560), app(app(app(ty_@3, hh), baa), bab), hf) → new_ltEs1(xuu550, xuu560, hh, baa, bab)
new_compare20(Left(xuu550), Left(xuu560), False, app(app(ty_Either, app(ty_Maybe, hg)), hf)) → new_ltEs0(xuu550, xuu560, hg)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), app(app(ty_@2, gb), gc)), dh)) → new_lt3(xuu551, xuu561, gb, gc)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), app(ty_Maybe, fc)), dh)) → new_lt0(xuu551, xuu561, fc)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, app(ty_[], bhe), bgc, bfb) → new_lt(xuu108, xuu111, bhe)
new_primCompAux(xuu4000, xuu300, xuu45, app(ty_[], ba)) → new_compare0(xuu4000, xuu300, ba)
new_compare20(xuu55, xuu56, False, app(ty_[], cc)) → new_compare0(xuu55, xuu56, cc)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, bdc), app(app(ty_@2, bec), bed))) → new_ltEs3(xuu551, xuu561, bec, bed)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, app(ty_Maybe, bfc), bfb) → new_lt0(xuu109, xuu112, bfc)
new_compare23(xuu84, xuu85, False, ceh, app(app(ty_Either, cff), cfg)) → new_ltEs2(xuu84, xuu85, cff, cfg)
new_ltEs2(Right(xuu550), Right(xuu560), bag, app(app(app(ty_@3, bbb), bbc), bbd)) → new_ltEs1(xuu550, xuu560, bbb, bbc, bbd)
new_compare20(Just(xuu550), Just(xuu560), False, app(ty_Maybe, app(app(ty_Either, db), dc))) → new_ltEs2(xuu550, xuu560, db, dc)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, app(app(ty_Either, fh), ga), dh) → new_lt2(xuu551, xuu561, fh, ga)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), dg), app(app(ty_Either, ha), hb))) → new_ltEs2(xuu552, xuu562, ha, hb)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, ccd, app(app(ty_@2, cdd), cde)) → new_ltEs3(xuu122, xuu124, cdd, cde)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, app(app(ty_@2, cef), ceg), cdg) → new_lt3(xuu121, xuu123, cef, ceg)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, app(ty_Maybe, ea)), dg), dh)) → new_lt0(xuu550, xuu560, ea)
new_ltEs2(Right(xuu550), Right(xuu560), bag, app(app(ty_Either, bbe), bbf)) → new_ltEs2(xuu550, xuu560, bbe, bbf)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), app(app(app(ty_@3, fd), ff), fg)), dh)) → new_lt1(xuu551, xuu561, fd, ff, fg)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, ccd, app(app(app(ty_@3, ccg), cch), cda)) → new_ltEs1(xuu122, xuu124, ccg, cch, cda)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), app(app(ty_Either, ee), ef), dg, dh) → new_lt2(xuu550, xuu560, ee, ef)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), app(ty_Maybe, bcc), bcb) → new_lt0(xuu550, xuu560, bcc)
new_compare22(xuu77, xuu78, False, app(app(app(ty_@3, cbc), cbd), cbe), cba) → new_ltEs1(xuu77, xuu78, cbc, cbd, cbe)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, app(app(app(ty_@3, eb), ec), ed)), dg), dh)) → new_lt1(xuu550, xuu560, eb, ec, ed)
new_ltEs2(Left(xuu550), Left(xuu560), app(ty_Maybe, hg), hf) → new_ltEs0(xuu550, xuu560, hg)
new_compare22(xuu77, xuu78, False, app(ty_Maybe, cbb), cba) → new_ltEs0(xuu77, xuu78, cbb)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), app(ty_Maybe, ea), dg, dh) → new_lt0(xuu550, xuu560, ea)
new_compare20(Right(xuu550), Right(xuu560), False, app(app(ty_Either, bag), app(ty_Maybe, bba))) → new_ltEs0(xuu550, xuu560, bba)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, app(ty_Maybe, cdh), cdg) → new_lt0(xuu121, xuu123, cdh)
new_primCompAux(xuu4000, xuu300, xuu45, app(app(ty_@2, bh), ca)) → new_compare4(xuu4000, xuu300, bh, ca)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, app(ty_[], fb), dh) → new_lt(xuu551, xuu561, fb)
new_compare23(xuu84, xuu85, False, ceh, app(ty_Maybe, cfb)) → new_ltEs0(xuu84, xuu85, cfb)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, dg, app(ty_Maybe, ge)) → new_ltEs0(xuu552, xuu562, ge)
new_compare20(Left(xuu550), Left(xuu560), False, app(app(ty_Either, app(ty_[], he)), hf)) → new_ltEs(xuu550, xuu560, he)
new_compare20(Left(xuu550), Left(xuu560), False, app(app(ty_Either, app(app(app(ty_@3, hh), baa), bab)), hf)) → new_ltEs1(xuu550, xuu560, hh, baa, bab)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, app(app(app(ty_@3, bhg), bhh), caa), bgc, bfb) → new_lt1(xuu108, xuu111, bhg, bhh, caa)
new_compare20(Just(xuu550), Just(xuu560), False, app(ty_Maybe, app(app(app(ty_@3, cf), cg), da))) → new_ltEs1(xuu550, xuu560, cf, cg, da)
new_primCompAux(xuu4000, xuu300, xuu45, app(app(app(ty_@3, bc), bd), be)) → new_compare2(xuu4000, xuu300, bc, bd, be)
new_ltEs2(Left(xuu550), Left(xuu560), app(ty_[], he), hf) → new_ltEs(xuu550, xuu560, he)
new_ltEs3(@2(xuu550, xuu551), @2(xuu560, xuu561), bdc, app(ty_[], bdd)) → new_ltEs(xuu551, xuu561, bdd)
new_compare20(Right(xuu550), Right(xuu560), False, app(app(ty_Either, bag), app(ty_[], bah))) → new_ltEs(xuu550, xuu560, bah)
new_compare20(Just(xuu550), Just(xuu560), False, app(ty_Maybe, app(ty_[], cd))) → new_ltEs(xuu550, xuu560, cd)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, app(app(ty_Either, cab), cac), bgc, bfb) → new_lt2(xuu108, xuu111, cab, cac)
new_compare21(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, app(ty_Maybe, bhf), bgc, bfb) → new_lt0(xuu108, xuu111, bhf)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, app(app(app(ty_@3, cea), ceb), cec), cdg) → new_lt1(xuu121, xuu123, cea, ceb, cec)
new_compare20(@2(xuu550, xuu551), @2(xuu560, xuu561), False, app(app(ty_@2, app(ty_[], bca)), bcb)) → new_lt(xuu550, xuu560, bca)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), app(ty_[], fb)), dh)) → new_lt(xuu551, xuu561, fb)
new_compare20(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), False, app(app(app(ty_@3, fa), app(app(ty_Either, fh), ga)), dh)) → new_lt2(xuu551, xuu561, fh, ga)
new_compare24(xuu121, xuu122, xuu123, xuu124, False, app(app(ty_Either, ced), cee), cdg) → new_lt2(xuu121, xuu123, ced, cee)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, dg, app(app(ty_Either, ha), hb)) → new_ltEs2(xuu552, xuu562, ha, hb)
new_ltEs1(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), app(app(app(ty_@3, eb), ec), ed), dg, dh) → new_lt1(xuu550, xuu560, eb, ec, ed)

The TRS R consists of the following rules:

new_esEs9(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_esEs8(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_esEs7(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_esEs38(xuu40002, xuu3002, app(ty_[], fdf)) → new_esEs14(xuu40002, xuu3002, fdf)
new_esEs27(xuu550, xuu560, ty_Integer) → new_esEs26(xuu550, xuu560)
new_compare9(@3(xuu4000, xuu4001, xuu4002), @3(xuu300, xuu301, xuu302), bee, bef, beg) → new_compare26(xuu4000, xuu4001, xuu4002, xuu300, xuu301, xuu302, new_asAs(new_esEs7(xuu4000, xuu300, bee), new_asAs(new_esEs6(xuu4001, xuu301, bef), new_esEs5(xuu4002, xuu302, beg))), bee, bef, beg)
new_esEs10(xuu4001, xuu301, app(app(app(ty_@3, dag), dah), dba)) → new_esEs18(xuu4001, xuu301, dag, dah, dba)
new_compare17(GT, EQ) → GT
new_esEs31(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Integer) → new_ltEs11(xuu550, xuu560)
new_esEs7(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_lt9(xuu400, xuu30, cb) → new_esEs12(new_compare16(xuu400, xuu30, cb))
new_ltEs10(False, True) → True
new_ltEs21(xuu77, xuu78, app(ty_[], cah)) → new_ltEs9(xuu77, xuu78, cah)
new_ltEs19(xuu551, xuu561, app(ty_[], bdd)) → new_ltEs9(xuu551, xuu561, bdd)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Bool) → new_ltEs10(xuu550, xuu560)
new_compare110(xuu165, xuu166, True, eff, efg) → LT
new_ltEs8(Just(xuu550), Just(xuu560), app(app(ty_Either, db), dc)) → new_ltEs16(xuu550, xuu560, db, dc)
new_esEs5(xuu4002, xuu302, ty_Double) → new_esEs16(xuu4002, xuu302)
new_compare([], :(xuu300, xuu301), h) → LT
new_ltEs16(Right(xuu550), Right(xuu560), bag, ty_Float) → new_ltEs6(xuu550, xuu560)
new_esEs11(xuu4000, xuu300, app(ty_Maybe, ehg)) → new_esEs21(xuu4000, xuu300, ehg)
new_ltEs22(xuu84, xuu85, ty_@0) → new_ltEs4(xuu84, xuu85)
new_ltEs24(xuu552, xuu562, app(app(app(ty_@3, gf), gg), gh)) → new_ltEs14(xuu552, xuu562, gf, gg, gh)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_compare14(xuu195, xuu196, xuu197, xuu198, False, cge, cgf) → GT
new_ltEs5(EQ, GT) → True
new_lt19(xuu109, xuu112, app(app(ty_Either, bfg), bfh)) → new_lt18(xuu109, xuu112, bfg, bfh)
new_esEs5(xuu4002, xuu302, app(ty_[], ddb)) → new_esEs14(xuu4002, xuu302, ddb)
new_esEs11(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_lt21(xuu121, xuu123, ty_@0) → new_lt16(xuu121, xuu123)
new_compare27(Left(xuu4000), Left(xuu300), caf, cag) → new_compare28(xuu4000, xuu300, new_esEs8(xuu4000, xuu300, caf), caf, cag)
new_esEs32(xuu109, xuu112, ty_Integer) → new_esEs26(xuu109, xuu112)
new_esEs11(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_esEs9(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_compare17(EQ, EQ) → EQ
new_esEs31(xuu40000, xuu3000, app(ty_[], dhb)) → new_esEs14(xuu40000, xuu3000, dhb)
new_compare26(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, True, beh, bgc, bfb) → EQ
new_esEs32(xuu109, xuu112, app(app(ty_Either, bfg), bfh)) → new_esEs25(xuu109, xuu112, bfg, bfh)
new_lt13(xuu400, xuu30) → new_esEs12(new_compare30(xuu400, xuu30))
new_esEs30(xuu40001, xuu3001, app(ty_[], dfh)) → new_esEs14(xuu40001, xuu3001, dfh)
new_compare31(xuu4000, xuu300, app(app(app(ty_@3, bc), bd), be)) → new_compare9(xuu4000, xuu300, bc, bd, be)
new_lt21(xuu121, xuu123, ty_Ordering) → new_lt10(xuu121, xuu123)
new_ltEs20(xuu110, xuu113, app(app(ty_Either, bha), bhb)) → new_ltEs16(xuu110, xuu113, bha, bhb)
new_primMulNat0(Zero, Zero) → Zero
new_ltEs23(xuu122, xuu124, app(app(app(ty_@3, ccg), cch), cda)) → new_ltEs14(xuu122, xuu124, ccg, cch, cda)
new_esEs36(xuu551, xuu561, app(app(ty_@2, gb), gc)) → new_esEs19(xuu551, xuu561, gb, gc)
new_compare(:(xuu4000, xuu4001), [], h) → GT
new_esEs40(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs7(xuu4000, xuu300, app(app(ty_Either, chg), chh)) → new_esEs25(xuu4000, xuu300, chg, chh)
new_esEs11(xuu4000, xuu300, app(ty_Ratio, eha)) → new_esEs17(xuu4000, xuu300, eha)
new_compare30(False, True) → LT
new_ltEs24(xuu552, xuu562, app(ty_Ratio, fcb)) → new_ltEs7(xuu552, xuu562, fcb)
new_lt14(xuu400, xuu30) → new_esEs12(new_compare19(xuu400, xuu30))
new_esEs4(xuu4000, xuu300, app(ty_Maybe, dcf)) → new_esEs21(xuu4000, xuu300, dcf)
new_lt23(xuu551, xuu561, ty_Ordering) → new_lt10(xuu551, xuu561)
new_lt19(xuu109, xuu112, app(ty_Maybe, bfc)) → new_lt9(xuu109, xuu112, bfc)
new_compare25(xuu55, xuu56, True, dda) → EQ
new_lt23(xuu551, xuu561, ty_Bool) → new_lt13(xuu551, xuu561)
new_ltEs20(xuu110, xuu113, app(ty_Maybe, bge)) → new_ltEs8(xuu110, xuu113, bge)
new_esEs35(xuu40000, xuu3000, app(app(ty_@2, fbc), fbd)) → new_esEs19(xuu40000, xuu3000, fbc, fbd)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Double) → new_esEs16(xuu40000, xuu3000)
new_esEs33(xuu108, xuu111, app(app(app(ty_@3, bhg), bhh), caa)) → new_esEs18(xuu108, xuu111, bhg, bhh, caa)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Integer, dch) → new_esEs26(xuu40000, xuu3000)
new_esEs32(xuu109, xuu112, ty_Float) → new_esEs20(xuu109, xuu112)
new_esEs6(xuu4001, xuu301, ty_Ordering) → new_esEs13(xuu4001, xuu301)
new_esEs34(xuu121, xuu123, app(ty_Maybe, cdh)) → new_esEs21(xuu121, xuu123, cdh)
new_lt21(xuu121, xuu123, ty_Float) → new_lt7(xuu121, xuu123)
new_esEs8(xuu4000, xuu300, app(ty_[], edb)) → new_esEs14(xuu4000, xuu300, edb)
new_esEs13(EQ, EQ) → True
new_ltEs16(Left(xuu550), Left(xuu560), ty_Float, hf) → new_ltEs6(xuu550, xuu560)
new_ltEs18(xuu55, xuu56, app(ty_[], cc)) → new_ltEs9(xuu55, xuu56, cc)
new_lt23(xuu551, xuu561, ty_Integer) → new_lt6(xuu551, xuu561)
new_lt21(xuu121, xuu123, ty_Char) → new_lt14(xuu121, xuu123)
new_esEs11(xuu4000, xuu300, app(app(app(ty_@3, ehb), ehc), ehd)) → new_esEs18(xuu4000, xuu300, ehb, ehc, ehd)
new_esEs35(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs31(xuu40000, xuu3000, app(app(ty_@2, dhg), dhh)) → new_esEs19(xuu40000, xuu3000, dhg, dhh)
new_esEs5(xuu4002, xuu302, app(ty_Ratio, ddc)) → new_esEs17(xuu4002, xuu302, ddc)
new_ltEs24(xuu552, xuu562, app(app(ty_@2, hc), hd)) → new_ltEs17(xuu552, xuu562, hc, hd)
new_lt21(xuu121, xuu123, app(ty_Ratio, fac)) → new_lt8(xuu121, xuu123, fac)
new_esEs4(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_esEs6(xuu4001, xuu301, ty_Int) → new_esEs24(xuu4001, xuu301)
new_esEs36(xuu551, xuu561, ty_Char) → new_esEs23(xuu551, xuu561)
new_lt23(xuu551, xuu561, app(ty_Ratio, fca)) → new_lt8(xuu551, xuu561, fca)
new_lt22(xuu550, xuu560, app(app(app(ty_@3, eb), ec), ed)) → new_lt5(xuu550, xuu560, eb, ec, ed)
new_esEs7(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_ltEs20(xuu110, xuu113, app(ty_[], bgd)) → new_ltEs9(xuu110, xuu113, bgd)
new_ltEs20(xuu110, xuu113, app(app(ty_@2, bhc), bhd)) → new_ltEs17(xuu110, xuu113, bhc, bhd)
new_esEs8(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Double, dch) → new_esEs16(xuu40000, xuu3000)
new_esEs31(xuu40000, xuu3000, app(ty_Maybe, eaa)) → new_esEs21(xuu40000, xuu3000, eaa)
new_lt22(xuu550, xuu560, app(ty_Ratio, fbh)) → new_lt8(xuu550, xuu560, fbh)
new_ltEs5(EQ, LT) → False
new_ltEs18(xuu55, xuu56, app(ty_Ratio, daa)) → new_ltEs7(xuu55, xuu56, daa)
new_esEs8(xuu4000, xuu300, app(app(ty_Either, eeb), eec)) → new_esEs25(xuu4000, xuu300, eeb, eec)
new_esEs38(xuu40002, xuu3002, ty_@0) → new_esEs22(xuu40002, xuu3002)
new_esEs33(xuu108, xuu111, ty_Integer) → new_esEs26(xuu108, xuu111)
new_ltEs21(xuu77, xuu78, app(app(ty_@2, cbh), cca)) → new_ltEs17(xuu77, xuu78, cbh, cca)
new_ltEs18(xuu55, xuu56, ty_Bool) → new_ltEs10(xuu55, xuu56)
new_ltEs10(False, False) → True
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, app(app(app(ty_@3, ebh), eca), ecb)) → new_esEs18(xuu40000, xuu3000, ebh, eca, ecb)
new_ltEs8(Just(xuu550), Just(xuu560), ty_@0) → new_ltEs4(xuu550, xuu560)
new_esEs39(xuu40001, xuu3001, ty_Bool) → new_esEs15(xuu40001, xuu3001)
new_esEs4(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_lt23(xuu551, xuu561, app(ty_Maybe, fc)) → new_lt9(xuu551, xuu561, fc)
new_esEs7(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_ltEs20(xuu110, xuu113, app(ty_Ratio, ega)) → new_ltEs7(xuu110, xuu113, ega)
new_esEs32(xuu109, xuu112, app(ty_[], bfa)) → new_esEs14(xuu109, xuu112, bfa)
new_pePe(False, xuu211) → xuu211
new_esEs14([], [], dbg) → True
new_esEs13(LT, EQ) → False
new_esEs13(EQ, LT) → False
new_esEs38(xuu40002, xuu3002, ty_Integer) → new_esEs26(xuu40002, xuu3002)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Int) → new_ltEs13(xuu550, xuu560)
new_compare31(xuu4000, xuu300, app(app(ty_Either, bf), bg)) → new_compare27(xuu4000, xuu300, bf, bg)
new_esEs39(xuu40001, xuu3001, app(ty_Maybe, ffg)) → new_esEs21(xuu40001, xuu3001, ffg)
new_esEs15(True, False) → False
new_esEs15(False, True) → False
new_ltEs8(Just(xuu550), Just(xuu560), app(app(ty_@2, dd), de)) → new_ltEs17(xuu550, xuu560, dd, de)
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_Ratio, ech), hf) → new_ltEs7(xuu550, xuu560, ech)
new_lt21(xuu121, xuu123, ty_Bool) → new_lt13(xuu121, xuu123)
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(ty_@2, eba), ebb), dch) → new_esEs19(xuu40000, xuu3000, eba, ebb)
new_lt19(xuu109, xuu112, ty_Integer) → new_lt6(xuu109, xuu112)
new_ltEs16(Right(xuu550), Right(xuu560), bag, app(app(app(ty_@3, bbb), bbc), bbd)) → new_ltEs14(xuu550, xuu560, bbb, bbc, bbd)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Char, hf) → new_ltEs12(xuu550, xuu560)
new_lt11(xuu550, xuu560, ty_Ordering) → new_lt10(xuu550, xuu560)
new_lt11(xuu550, xuu560, ty_Double) → new_lt17(xuu550, xuu560)
new_lt11(xuu550, xuu560, ty_Integer) → new_lt6(xuu550, xuu560)
new_esEs6(xuu4001, xuu301, ty_Char) → new_esEs23(xuu4001, xuu301)
new_lt21(xuu121, xuu123, app(app(app(ty_@3, cea), ceb), cec)) → new_lt5(xuu121, xuu123, cea, ceb, cec)
new_esEs30(xuu40001, xuu3001, ty_@0) → new_esEs22(xuu40001, xuu3001)
new_esEs30(xuu40001, xuu3001, ty_Bool) → new_esEs15(xuu40001, xuu3001)
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(app(ty_@3, eaf), eag), eah), dch) → new_esEs18(xuu40000, xuu3000, eaf, eag, eah)
new_esEs34(xuu121, xuu123, app(ty_Ratio, fac)) → new_esEs17(xuu121, xuu123, fac)
new_lt22(xuu550, xuu560, app(ty_[], df)) → new_lt12(xuu550, xuu560, df)
new_esEs38(xuu40002, xuu3002, app(app(ty_Either, fef), feg)) → new_esEs25(xuu40002, xuu3002, fef, feg)
new_esEs27(xuu550, xuu560, ty_Float) → new_esEs20(xuu550, xuu560)
new_esEs31(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs32(xuu109, xuu112, ty_Ordering) → new_esEs13(xuu109, xuu112)
new_esEs34(xuu121, xuu123, app(app(app(ty_@3, cea), ceb), cec)) → new_esEs18(xuu121, xuu123, cea, ceb, cec)
new_esEs12(GT) → False
new_esEs6(xuu4001, xuu301, app(app(ty_@2, dfa), dfb)) → new_esEs19(xuu4001, xuu301, dfa, dfb)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs12(LT) → True
new_ltEs18(xuu55, xuu56, ty_Int) → new_ltEs13(xuu55, xuu56)
new_lt19(xuu109, xuu112, app(ty_[], bfa)) → new_lt12(xuu109, xuu112, bfa)
new_esEs35(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_primCmpNat0(Zero, Succ(xuu3000)) → LT
new_ltEs8(Nothing, Just(xuu560), dab) → True
new_ltEs4(xuu55, xuu56) → new_fsEs(new_compare8(xuu55, xuu56))
new_esEs7(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_ltEs18(xuu55, xuu56, ty_@0) → new_ltEs4(xuu55, xuu56)
new_ltEs24(xuu552, xuu562, ty_Ordering) → new_ltEs5(xuu552, xuu562)
new_ltEs22(xuu84, xuu85, ty_Ordering) → new_ltEs5(xuu84, xuu85)
new_esEs38(xuu40002, xuu3002, ty_Ordering) → new_esEs13(xuu40002, xuu3002)
new_compare6(Float(xuu4000, xuu4001), Float(xuu300, xuu301)) → new_compare7(new_sr(xuu4000, xuu300), new_sr(xuu4001, xuu301))
new_ltEs20(xuu110, xuu113, ty_@0) → new_ltEs4(xuu110, xuu113)
new_esEs8(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_ltEs8(Just(xuu550), Just(xuu560), app(app(app(ty_@3, cf), cg), da)) → new_ltEs14(xuu550, xuu560, cf, cg, da)
new_esEs11(xuu4000, xuu300, app(app(ty_Either, ehh), faa)) → new_esEs25(xuu4000, xuu300, ehh, faa)
new_lt11(xuu550, xuu560, app(app(ty_Either, bcg), bch)) → new_lt18(xuu550, xuu560, bcg, bch)
new_esEs36(xuu551, xuu561, app(app(app(ty_@3, fd), ff), fg)) → new_esEs18(xuu551, xuu561, fd, ff, fg)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Int, hf) → new_ltEs13(xuu550, xuu560)
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_Maybe, fdb)) → new_esEs21(xuu40000, xuu3000, fdb)
new_lt11(xuu550, xuu560, ty_Char) → new_lt14(xuu550, xuu560)
new_esEs37(xuu550, xuu560, app(ty_Ratio, fbh)) → new_esEs17(xuu550, xuu560, fbh)
new_esEs21(Nothing, Nothing, dcf) → True
new_esEs27(xuu550, xuu560, ty_Ordering) → new_esEs13(xuu550, xuu560)
new_esEs11(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_pePe(True, xuu211) → True
new_ltEs19(xuu551, xuu561, ty_Int) → new_ltEs13(xuu551, xuu561)
new_primEqNat0(Zero, Zero) → True
new_ltEs16(Left(xuu550), Left(xuu560), ty_Bool, hf) → new_ltEs10(xuu550, xuu560)
new_esEs32(xuu109, xuu112, ty_Char) → new_esEs23(xuu109, xuu112)
new_compare5(@2(xuu4000, xuu4001), @2(xuu300, xuu301), ccb, ccc) → new_compare210(xuu4000, xuu4001, xuu300, xuu301, new_asAs(new_esEs11(xuu4000, xuu300, ccb), new_esEs10(xuu4001, xuu301, ccc)), ccb, ccc)
new_lt22(xuu550, xuu560, app(ty_Maybe, ea)) → new_lt9(xuu550, xuu560, ea)
new_esEs6(xuu4001, xuu301, ty_Float) → new_esEs20(xuu4001, xuu301)
new_esEs5(xuu4002, xuu302, ty_Integer) → new_esEs26(xuu4002, xuu302)
new_ltEs20(xuu110, xuu113, ty_Bool) → new_ltEs10(xuu110, xuu113)
new_lt20(xuu108, xuu111, ty_Int) → new_lt15(xuu108, xuu111)
new_compare29(xuu84, xuu85, True, ceh, ege) → EQ
new_esEs13(GT, LT) → False
new_esEs13(LT, GT) → False
new_esEs27(xuu550, xuu560, app(ty_Maybe, bcc)) → new_esEs21(xuu550, xuu560, bcc)
new_esEs12(EQ) → False
new_lt20(xuu108, xuu111, app(ty_Ratio, egb)) → new_lt8(xuu108, xuu111, egb)
new_esEs37(xuu550, xuu560, ty_Float) → new_esEs20(xuu550, xuu560)
new_lt11(xuu550, xuu560, app(ty_Maybe, bcc)) → new_lt9(xuu550, xuu560, bcc)
new_lt23(xuu551, xuu561, ty_Float) → new_lt7(xuu551, xuu561)
new_esEs10(xuu4001, xuu301, ty_Int) → new_esEs24(xuu4001, xuu301)
new_esEs39(xuu40001, xuu3001, ty_Ordering) → new_esEs13(xuu40001, xuu3001)
new_esEs40(xuu40000, xuu3000, app(app(ty_Either, fhb), fhc)) → new_esEs25(xuu40000, xuu3000, fhb, fhc)
new_esEs6(xuu4001, xuu301, app(ty_[], ded)) → new_esEs14(xuu4001, xuu301, ded)
new_compare31(xuu4000, xuu300, ty_Bool) → new_compare30(xuu4000, xuu300)
new_ltEs16(Left(xuu550), Left(xuu560), app(app(app(ty_@3, hh), baa), bab), hf) → new_ltEs14(xuu550, xuu560, hh, baa, bab)
new_ltEs23(xuu122, xuu124, app(ty_Ratio, fab)) → new_ltEs7(xuu122, xuu124, fab)
new_esEs9(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_ltEs21(xuu77, xuu78, app(app(app(ty_@3, cbc), cbd), cbe)) → new_ltEs14(xuu77, xuu78, cbc, cbd, cbe)
new_ltEs21(xuu77, xuu78, ty_Bool) → new_ltEs10(xuu77, xuu78)
new_ltEs22(xuu84, xuu85, ty_Char) → new_ltEs12(xuu84, xuu85)
new_esEs35(xuu40000, xuu3000, app(app(ty_Either, fbf), fbg)) → new_esEs25(xuu40000, xuu3000, fbf, fbg)
new_compare110(xuu165, xuu166, False, eff, efg) → GT
new_lt23(xuu551, xuu561, ty_@0) → new_lt16(xuu551, xuu561)
new_ltEs21(xuu77, xuu78, ty_@0) → new_ltEs4(xuu77, xuu78)
new_esEs37(xuu550, xuu560, app(ty_Maybe, ea)) → new_esEs21(xuu550, xuu560, ea)
new_sr(xuu4001, xuu301) → new_primMulInt(xuu4001, xuu301)
new_ltEs20(xuu110, xuu113, app(app(app(ty_@3, bgf), bgg), bgh)) → new_ltEs14(xuu110, xuu113, bgf, bgg, bgh)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_[], ead), dch) → new_esEs14(xuu40000, xuu3000, ead)
new_compare7(xuu400, xuu30) → new_primCmpInt(xuu400, xuu30)
new_esEs36(xuu551, xuu561, ty_Integer) → new_esEs26(xuu551, xuu561)
new_lt11(xuu550, xuu560, ty_Int) → new_lt15(xuu550, xuu560)
new_esEs8(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_lt11(xuu550, xuu560, app(ty_Ratio, dff)) → new_lt8(xuu550, xuu560, dff)
new_ltEs22(xuu84, xuu85, ty_Integer) → new_ltEs11(xuu84, xuu85)
new_esEs7(xuu4000, xuu300, app(ty_Maybe, chf)) → new_esEs21(xuu4000, xuu300, chf)
new_esEs4(xuu4000, xuu300, app(ty_[], dbg)) → new_esEs14(xuu4000, xuu300, dbg)
new_esEs39(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_ltEs16(Right(xuu550), Right(xuu560), bag, app(ty_Maybe, bba)) → new_ltEs8(xuu550, xuu560, bba)
new_ltEs21(xuu77, xuu78, ty_Ordering) → new_ltEs5(xuu77, xuu78)
new_esEs9(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_esEs39(xuu40001, xuu3001, app(ty_Ratio, ffa)) → new_esEs17(xuu40001, xuu3001, ffa)
new_lt20(xuu108, xuu111, ty_Double) → new_lt17(xuu108, xuu111)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, app(ty_[], ebf)) → new_esEs14(xuu40000, xuu3000, ebf)
new_ltEs5(LT, LT) → True
new_ltEs16(Right(xuu550), Right(xuu560), bag, app(ty_Ratio, eda)) → new_ltEs7(xuu550, xuu560, eda)
new_esEs11(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_ltEs16(Left(xuu550), Left(xuu560), ty_@0, hf) → new_ltEs4(xuu550, xuu560)
new_compare31(xuu4000, xuu300, ty_@0) → new_compare8(xuu4000, xuu300)
new_lt22(xuu550, xuu560, ty_Double) → new_lt17(xuu550, xuu560)
new_esEs27(xuu550, xuu560, app(app(app(ty_@3, bcd), bce), bcf)) → new_esEs18(xuu550, xuu560, bcd, bce, bcf)
new_esEs27(xuu550, xuu560, ty_Int) → new_esEs24(xuu550, xuu560)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_esEs28(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_ltEs24(xuu552, xuu562, ty_Integer) → new_ltEs11(xuu552, xuu562)
new_primEqInt(Neg(Succ(xuu400000)), Neg(Succ(xuu30000))) → new_primEqNat0(xuu400000, xuu30000)
new_esEs8(xuu4000, xuu300, app(ty_Maybe, eea)) → new_esEs21(xuu4000, xuu300, eea)
new_ltEs19(xuu551, xuu561, app(app(ty_@2, bec), bed)) → new_ltEs17(xuu551, xuu561, bec, bed)
new_ltEs20(xuu110, xuu113, ty_Integer) → new_ltEs11(xuu110, xuu113)
new_ltEs16(Right(xuu550), Right(xuu560), bag, ty_Bool) → new_ltEs10(xuu550, xuu560)
new_esEs15(True, True) → True
new_lt19(xuu109, xuu112, app(app(ty_@2, bga), bgb)) → new_lt4(xuu109, xuu112, bga, bgb)
new_compare15(:%(xuu4000, xuu4001), :%(xuu300, xuu301), ty_Integer) → new_compare11(new_sr0(xuu4000, xuu301), new_sr0(xuu300, xuu4001))
new_ltEs16(Right(xuu550), Right(xuu560), bag, ty_Char) → new_ltEs12(xuu550, xuu560)
new_ltEs22(xuu84, xuu85, app(ty_Ratio, egf)) → new_ltEs7(xuu84, xuu85, egf)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_[], cd)) → new_ltEs9(xuu550, xuu560, cd)
new_ltEs22(xuu84, xuu85, app(app(ty_Either, cff), cfg)) → new_ltEs16(xuu84, xuu85, cff, cfg)
new_esEs39(xuu40001, xuu3001, ty_@0) → new_esEs22(xuu40001, xuu3001)
new_esEs14(:(xuu40000, xuu40001), :(xuu3000, xuu3001), dbg) → new_asAs(new_esEs35(xuu40000, xuu3000, dbg), new_esEs14(xuu40001, xuu3001, dbg))
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_[], fcc)) → new_esEs14(xuu40000, xuu3000, fcc)
new_ltEs16(Right(xuu550), Right(xuu560), bag, ty_Ordering) → new_ltEs5(xuu550, xuu560)
new_esEs4(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_lt19(xuu109, xuu112, ty_Char) → new_lt14(xuu109, xuu112)
new_esEs9(xuu4000, xuu300, app(ty_[], eed)) → new_esEs14(xuu4000, xuu300, eed)
new_esEs14(:(xuu40000, xuu40001), [], dbg) → False
new_esEs14([], :(xuu3000, xuu3001), dbg) → False
new_lt22(xuu550, xuu560, app(app(ty_@2, eg), eh)) → new_lt4(xuu550, xuu560, eg, eh)
new_primEqInt(Neg(Zero), Neg(Zero)) → True
new_esEs10(xuu4001, xuu301, app(ty_Maybe, dbd)) → new_esEs21(xuu4001, xuu301, dbd)
new_esEs27(xuu550, xuu560, ty_Char) → new_esEs23(xuu550, xuu560)
new_esEs40(xuu40000, xuu3000, app(ty_Ratio, fgc)) → new_esEs17(xuu40000, xuu3000, fgc)
new_ltEs23(xuu122, xuu124, app(app(ty_Either, cdb), cdc)) → new_ltEs16(xuu122, xuu124, cdb, cdc)
new_esEs9(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_esEs30(xuu40001, xuu3001, app(app(ty_@2, dge), dgf)) → new_esEs19(xuu40001, xuu3001, dge, dgf)
new_compare31(xuu4000, xuu300, ty_Integer) → new_compare11(xuu4000, xuu300)
new_ltEs24(xuu552, xuu562, app(app(ty_Either, ha), hb)) → new_ltEs16(xuu552, xuu562, ha, hb)
new_esEs8(xuu4000, xuu300, app(app(ty_@2, edg), edh)) → new_esEs19(xuu4000, xuu300, edg, edh)
new_lt22(xuu550, xuu560, ty_Int) → new_lt15(xuu550, xuu560)
new_ltEs20(xuu110, xuu113, ty_Char) → new_ltEs12(xuu110, xuu113)
new_ltEs21(xuu77, xuu78, app(ty_Ratio, egd)) → new_ltEs7(xuu77, xuu78, egd)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Int) → new_esEs24(xuu40000, xuu3000)
new_compare112(xuu158, xuu159, False, fad, fae) → GT
new_primEqInt(Neg(Succ(xuu400000)), Neg(Zero)) → False
new_primEqInt(Neg(Zero), Neg(Succ(xuu30000))) → False
new_ltEs19(xuu551, xuu561, ty_Char) → new_ltEs12(xuu551, xuu561)
new_esEs37(xuu550, xuu560, app(app(ty_@2, eg), eh)) → new_esEs19(xuu550, xuu560, eg, eh)
new_esEs19(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), dcd, dce) → new_asAs(new_esEs31(xuu40000, xuu3000, dcd), new_esEs30(xuu40001, xuu3001, dce))
new_lt10(xuu400, xuu30) → new_esEs12(new_compare17(xuu400, xuu30))
new_esEs10(xuu4001, xuu301, ty_Ordering) → new_esEs13(xuu4001, xuu301)
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(app(ty_@3, fce), fcf), fcg)) → new_esEs18(xuu40000, xuu3000, fce, fcf, fcg)
new_esEs40(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_esEs4(xuu4000, xuu300, app(app(ty_@2, dcd), dce)) → new_esEs19(xuu4000, xuu300, dcd, dce)
new_ltEs24(xuu552, xuu562, ty_Int) → new_ltEs13(xuu552, xuu562)
new_ltEs16(Right(xuu550), Right(xuu560), bag, app(app(ty_Either, bbe), bbf)) → new_ltEs16(xuu550, xuu560, bbe, bbf)
new_compare([], [], h) → EQ
new_esEs10(xuu4001, xuu301, app(app(ty_Either, dbe), dbf)) → new_esEs25(xuu4001, xuu301, dbe, dbf)
new_lt11(xuu550, xuu560, ty_Bool) → new_lt13(xuu550, xuu560)
new_primCmpInt(Neg(Zero), Pos(Zero)) → EQ
new_primCmpInt(Pos(Zero), Neg(Zero)) → EQ
new_esEs34(xuu121, xuu123, app(app(ty_Either, ced), cee)) → new_esEs25(xuu121, xuu123, ced, cee)
new_ltEs20(xuu110, xuu113, ty_Double) → new_ltEs15(xuu110, xuu113)
new_lt4(xuu400, xuu30, ccb, ccc) → new_esEs12(new_compare5(xuu400, xuu30, ccb, ccc))
new_esEs36(xuu551, xuu561, ty_@0) → new_esEs22(xuu551, xuu561)
new_primCmpNat0(Succ(xuu40000), Succ(xuu3000)) → new_primCmpNat0(xuu40000, xuu3000)
new_esEs35(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs38(xuu40002, xuu3002, app(app(ty_@2, fec), fed)) → new_esEs19(xuu40002, xuu3002, fec, fed)
new_ltEs5(EQ, EQ) → True
new_esEs35(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_compare16(Nothing, Just(xuu300), cb) → LT
new_esEs8(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_esEs13(LT, LT) → True
new_ltEs22(xuu84, xuu85, app(app(app(ty_@3, cfc), cfd), cfe)) → new_ltEs14(xuu84, xuu85, cfc, cfd, cfe)
new_primEqInt(Pos(Succ(xuu400000)), Pos(Succ(xuu30000))) → new_primEqNat0(xuu400000, xuu30000)
new_esEs30(xuu40001, xuu3001, ty_Float) → new_esEs20(xuu40001, xuu3001)
new_lt20(xuu108, xuu111, app(ty_[], bhe)) → new_lt12(xuu108, xuu111, bhe)
new_compare16(Just(xuu4000), Just(xuu300), cb) → new_compare25(xuu4000, xuu300, new_esEs4(xuu4000, xuu300, cb), cb)
new_lt22(xuu550, xuu560, ty_Char) → new_lt14(xuu550, xuu560)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, app(ty_Ratio, ebg)) → new_esEs17(xuu40000, xuu3000, ebg)
new_compare29(xuu84, xuu85, False, ceh, ege) → new_compare110(xuu84, xuu85, new_ltEs22(xuu84, xuu85, ege), ceh, ege)
new_compare12(Double(xuu4000, xuu4001), Double(xuu300, xuu301)) → new_compare7(new_sr(xuu4000, xuu300), new_sr(xuu4001, xuu301))
new_esEs34(xuu121, xuu123, ty_Int) → new_esEs24(xuu121, xuu123)
new_ltEs23(xuu122, xuu124, app(ty_Maybe, ccf)) → new_ltEs8(xuu122, xuu124, ccf)
new_esEs37(xuu550, xuu560, app(app(ty_Either, ee), ef)) → new_esEs25(xuu550, xuu560, ee, ef)
new_esEs6(xuu4001, xuu301, app(app(app(ty_@3, def), deg), deh)) → new_esEs18(xuu4001, xuu301, def, deg, deh)
new_compare28(xuu77, xuu78, False, egc, cba) → new_compare112(xuu77, xuu78, new_ltEs21(xuu77, xuu78, egc), egc, cba)
new_primEqNat0(Succ(xuu400000), Succ(xuu30000)) → new_primEqNat0(xuu400000, xuu30000)
new_esEs33(xuu108, xuu111, app(ty_[], bhe)) → new_esEs14(xuu108, xuu111, bhe)
new_ltEs18(xuu55, xuu56, ty_Float) → new_ltEs6(xuu55, xuu56)
new_lt21(xuu121, xuu123, ty_Int) → new_lt15(xuu121, xuu123)
new_compare15(:%(xuu4000, xuu4001), :%(xuu300, xuu301), ty_Int) → new_compare7(new_sr(xuu4000, xuu301), new_sr(xuu300, xuu4001))
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(ty_@2, fch), fda)) → new_esEs19(xuu40000, xuu3000, fch, fda)
new_primCompAux00(xuu49, LT) → LT
new_esEs30(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_primCmpInt(Neg(Succ(xuu40000)), Neg(xuu300)) → new_primCmpNat0(xuu300, Succ(xuu40000))
new_ltEs8(Just(xuu550), Nothing, dab) → False
new_ltEs16(Left(xuu550), Left(xuu560), ty_Double, hf) → new_ltEs15(xuu550, xuu560)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Char, dch) → new_esEs23(xuu40000, xuu3000)
new_lt21(xuu121, xuu123, app(ty_Maybe, cdh)) → new_lt9(xuu121, xuu123, cdh)
new_esEs35(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_compare19(Char(xuu4000), Char(xuu300)) → new_primCmpNat0(xuu4000, xuu300)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_primEqInt(Pos(Zero), Pos(Succ(xuu30000))) → False
new_primEqInt(Pos(Succ(xuu400000)), Pos(Zero)) → False
new_esEs10(xuu4001, xuu301, ty_Double) → new_esEs16(xuu4001, xuu301)
new_ltEs23(xuu122, xuu124, ty_Bool) → new_ltEs10(xuu122, xuu124)
new_esEs34(xuu121, xuu123, ty_Double) → new_esEs16(xuu121, xuu123)
new_ltEs18(xuu55, xuu56, ty_Integer) → new_ltEs11(xuu55, xuu56)
new_primPlusNat0(Zero, Succ(xuu13400)) → Succ(xuu13400)
new_primPlusNat0(Succ(xuu39200), Zero) → Succ(xuu39200)
new_esEs30(xuu40001, xuu3001, ty_Ordering) → new_esEs13(xuu40001, xuu3001)
new_esEs30(xuu40001, xuu3001, app(app(app(ty_@3, dgb), dgc), dgd)) → new_esEs18(xuu40001, xuu3001, dgb, dgc, dgd)
new_ltEs5(GT, LT) → False
new_primCmpNat0(Zero, Zero) → EQ
new_compare30(False, False) → EQ
new_ltEs22(xuu84, xuu85, ty_Float) → new_ltEs6(xuu84, xuu85)
new_primCmpNat0(Succ(xuu40000), Zero) → GT
new_ltEs9(xuu55, xuu56, cc) → new_fsEs(new_compare(xuu55, xuu56, cc))
new_compare27(Left(xuu4000), Right(xuu300), caf, cag) → LT
new_esEs29(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_lt20(xuu108, xuu111, app(app(ty_@2, cad), cae)) → new_lt4(xuu108, xuu111, cad, cae)
new_ltEs20(xuu110, xuu113, ty_Ordering) → new_ltEs5(xuu110, xuu113)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Ordering) → new_ltEs5(xuu550, xuu560)
new_compare111(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, xuu187, cgb, cgc, cgd) → new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, cgb, cgc, cgd)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Float, dch) → new_esEs20(xuu40000, xuu3000)
new_primCmpInt(Neg(Zero), Pos(Succ(xuu3000))) → LT
new_esEs5(xuu4002, xuu302, app(app(ty_Either, deb), dec)) → new_esEs25(xuu4002, xuu302, deb, dec)
new_ltEs23(xuu122, xuu124, ty_Integer) → new_ltEs11(xuu122, xuu124)
new_sr0(Integer(xuu3000), Integer(xuu40010)) → Integer(new_primMulInt(xuu3000, xuu40010))
new_compare28(xuu77, xuu78, True, egc, cba) → EQ
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Char) → new_esEs23(xuu40000, xuu3000)
new_primEqInt(Neg(Succ(xuu400000)), Pos(xuu3000)) → False
new_primEqInt(Pos(Succ(xuu400000)), Neg(xuu3000)) → False
new_esEs29(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_lt22(xuu550, xuu560, ty_Bool) → new_lt13(xuu550, xuu560)
new_esEs10(xuu4001, xuu301, app(ty_[], dae)) → new_esEs14(xuu4001, xuu301, dae)
new_esEs26(Integer(xuu40000), Integer(xuu3000)) → new_primEqInt(xuu40000, xuu3000)
new_esEs7(xuu4000, xuu300, app(app(ty_@2, chd), che)) → new_esEs19(xuu4000, xuu300, chd, che)
new_esEs33(xuu108, xuu111, ty_Float) → new_esEs20(xuu108, xuu111)
new_compare(:(xuu4000, xuu4001), :(xuu300, xuu301), h) → new_primCompAux0(xuu4000, xuu300, new_compare(xuu4001, xuu301, h), h)
new_ltEs15(xuu55, xuu56) → new_fsEs(new_compare12(xuu55, xuu56))
new_esEs36(xuu551, xuu561, ty_Ordering) → new_esEs13(xuu551, xuu561)
new_esEs16(Double(xuu40000, xuu40001), Double(xuu3000, xuu3001)) → new_esEs24(new_sr(xuu40000, xuu3000), new_sr(xuu40001, xuu3001))
new_esEs32(xuu109, xuu112, app(ty_Maybe, bfc)) → new_esEs21(xuu109, xuu112, bfc)
new_lt19(xuu109, xuu112, app(app(app(ty_@3, bfd), bfe), bff)) → new_lt5(xuu109, xuu112, bfd, bfe, bff)
new_esEs39(xuu40001, xuu3001, ty_Float) → new_esEs20(xuu40001, xuu3001)
new_esEs34(xuu121, xuu123, ty_Float) → new_esEs20(xuu121, xuu123)
new_esEs37(xuu550, xuu560, ty_Double) → new_esEs16(xuu550, xuu560)
new_ltEs24(xuu552, xuu562, ty_Bool) → new_ltEs10(xuu552, xuu562)
new_esEs8(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_esEs5(xuu4002, xuu302, app(ty_Maybe, dea)) → new_esEs21(xuu4002, xuu302, dea)
new_esEs37(xuu550, xuu560, ty_@0) → new_esEs22(xuu550, xuu560)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_primEqInt(Pos(Zero), Neg(Succ(xuu30000))) → False
new_primEqInt(Neg(Zero), Pos(Succ(xuu30000))) → False
new_esEs35(xuu40000, xuu3000, app(ty_Ratio, fag)) → new_esEs17(xuu40000, xuu3000, fag)
new_esEs30(xuu40001, xuu3001, app(ty_Maybe, dgg)) → new_esEs21(xuu40001, xuu3001, dgg)
new_esEs27(xuu550, xuu560, app(app(ty_@2, bda), bdb)) → new_esEs19(xuu550, xuu560, bda, bdb)
new_esEs30(xuu40001, xuu3001, app(ty_Ratio, dga)) → new_esEs17(xuu40001, xuu3001, dga)
new_ltEs20(xuu110, xuu113, ty_Float) → new_ltEs6(xuu110, xuu113)
new_primCmpInt(Pos(Zero), Pos(Succ(xuu3000))) → new_primCmpNat0(Zero, Succ(xuu3000))
new_primCompAux00(xuu49, EQ) → xuu49
new_compare17(EQ, LT) → GT
new_esEs6(xuu4001, xuu301, app(ty_Maybe, dfc)) → new_esEs21(xuu4001, xuu301, dfc)
new_esEs37(xuu550, xuu560, ty_Bool) → new_esEs15(xuu550, xuu560)
new_ltEs23(xuu122, xuu124, ty_Int) → new_ltEs13(xuu122, xuu124)
new_ltEs24(xuu552, xuu562, app(ty_Maybe, ge)) → new_ltEs8(xuu552, xuu562, ge)
new_lt20(xuu108, xuu111, ty_Bool) → new_lt13(xuu108, xuu111)
new_ltEs20(xuu110, xuu113, ty_Int) → new_ltEs13(xuu110, xuu113)
new_ltEs16(Right(xuu550), Right(xuu560), bag, ty_@0) → new_ltEs4(xuu550, xuu560)
new_esEs6(xuu4001, xuu301, ty_Double) → new_esEs16(xuu4001, xuu301)
new_lt20(xuu108, xuu111, ty_Integer) → new_lt6(xuu108, xuu111)
new_esEs6(xuu4001, xuu301, app(app(ty_Either, dfd), dfe)) → new_esEs25(xuu4001, xuu301, dfd, dfe)
new_esEs4(xuu4000, xuu300, app(app(ty_Either, dcg), dch)) → new_esEs25(xuu4000, xuu300, dcg, dch)
new_esEs25(Right(xuu40000), Left(xuu3000), dcg, dch) → False
new_esEs25(Left(xuu40000), Right(xuu3000), dcg, dch) → False
new_esEs35(xuu40000, xuu3000, app(ty_Maybe, fbe)) → new_esEs21(xuu40000, xuu3000, fbe)
new_esEs40(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_esEs27(xuu550, xuu560, ty_Double) → new_esEs16(xuu550, xuu560)
new_ltEs16(Right(xuu550), Right(xuu560), bag, app(app(ty_@2, bbg), bbh)) → new_ltEs17(xuu550, xuu560, bbg, bbh)
new_compare17(GT, GT) → EQ
new_ltEs22(xuu84, xuu85, ty_Int) → new_ltEs13(xuu84, xuu85)
new_compare210(xuu121, xuu122, xuu123, xuu124, False, ccd, cdg) → new_compare13(xuu121, xuu122, xuu123, xuu124, new_lt21(xuu121, xuu123, ccd), new_asAs(new_esEs34(xuu121, xuu123, ccd), new_ltEs23(xuu122, xuu124, cdg)), ccd, cdg)
new_lt20(xuu108, xuu111, ty_@0) → new_lt16(xuu108, xuu111)
new_esEs7(xuu4000, xuu300, app(ty_Ratio, cgh)) → new_esEs17(xuu4000, xuu300, cgh)
new_not(False) → True
new_esEs9(xuu4000, xuu300, app(app(app(ty_@3, eef), eeg), eeh)) → new_esEs18(xuu4000, xuu300, eef, eeg, eeh)
new_esEs5(xuu4002, xuu302, ty_Float) → new_esEs20(xuu4002, xuu302)
new_esEs32(xuu109, xuu112, app(app(ty_@2, bga), bgb)) → new_esEs19(xuu109, xuu112, bga, bgb)
new_esEs38(xuu40002, xuu3002, ty_Char) → new_esEs23(xuu40002, xuu3002)
new_lt22(xuu550, xuu560, ty_Integer) → new_lt6(xuu550, xuu560)
new_ltEs13(xuu55, xuu56) → new_fsEs(new_compare7(xuu55, xuu56))
new_esEs27(xuu550, xuu560, ty_@0) → new_esEs22(xuu550, xuu560)
new_primCmpInt(Pos(Succ(xuu40000)), Pos(xuu300)) → new_primCmpNat0(Succ(xuu40000), xuu300)
new_lt21(xuu121, xuu123, app(ty_[], cdf)) → new_lt12(xuu121, xuu123, cdf)
new_lt19(xuu109, xuu112, ty_Int) → new_lt15(xuu109, xuu112)
new_esEs36(xuu551, xuu561, ty_Float) → new_esEs20(xuu551, xuu561)
new_esEs37(xuu550, xuu560, ty_Int) → new_esEs24(xuu550, xuu560)
new_esEs33(xuu108, xuu111, app(ty_Ratio, egb)) → new_esEs17(xuu108, xuu111, egb)
new_ltEs23(xuu122, xuu124, app(ty_[], cce)) → new_ltEs9(xuu122, xuu124, cce)
new_esEs38(xuu40002, xuu3002, ty_Float) → new_esEs20(xuu40002, xuu3002)
new_ltEs16(Left(xuu550), Right(xuu560), bag, hf) → True
new_lt11(xuu550, xuu560, app(ty_[], bca)) → new_lt12(xuu550, xuu560, bca)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs34(xuu121, xuu123, ty_@0) → new_esEs22(xuu121, xuu123)
new_compare17(GT, LT) → GT
new_lt19(xuu109, xuu112, ty_Float) → new_lt7(xuu109, xuu112)
new_lt15(xuu400, xuu30) → new_esEs12(new_compare7(xuu400, xuu30))
new_ltEs21(xuu77, xuu78, ty_Char) → new_ltEs12(xuu77, xuu78)
new_ltEs23(xuu122, xuu124, ty_Float) → new_ltEs6(xuu122, xuu124)
new_esEs11(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_esEs8(xuu4000, xuu300, app(app(app(ty_@3, edd), ede), edf)) → new_esEs18(xuu4000, xuu300, edd, ede, edf)
new_ltEs19(xuu551, xuu561, ty_Float) → new_ltEs6(xuu551, xuu561)
new_esEs4(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_esEs37(xuu550, xuu560, app(app(app(ty_@3, eb), ec), ed)) → new_esEs18(xuu550, xuu560, eb, ec, ed)
new_lt11(xuu550, xuu560, ty_@0) → new_lt16(xuu550, xuu560)
new_esEs8(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Integer, hf) → new_ltEs11(xuu550, xuu560)
new_esEs10(xuu4001, xuu301, ty_Bool) → new_esEs15(xuu4001, xuu301)
new_compare17(LT, GT) → LT
new_esEs31(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_esEs38(xuu40002, xuu3002, app(app(app(ty_@3, fdh), fea), feb)) → new_esEs18(xuu40002, xuu3002, fdh, fea, feb)
new_ltEs24(xuu552, xuu562, ty_Double) → new_ltEs15(xuu552, xuu562)
new_esEs31(xuu40000, xuu3000, app(app(app(ty_@3, dhd), dhe), dhf)) → new_esEs18(xuu40000, xuu3000, dhd, dhe, dhf)
new_esEs28(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_esEs5(xuu4002, xuu302, ty_Char) → new_esEs23(xuu4002, xuu302)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_primCmpInt(Pos(Succ(xuu40000)), Neg(xuu300)) → GT
new_lt23(xuu551, xuu561, app(ty_[], fb)) → new_lt12(xuu551, xuu561, fb)
new_compare16(Nothing, Nothing, cb) → EQ
new_lt23(xuu551, xuu561, ty_Char) → new_lt14(xuu551, xuu561)
new_esEs40(xuu40000, xuu3000, app(ty_[], fgb)) → new_esEs14(xuu40000, xuu3000, fgb)
new_lt8(xuu400, xuu30, dad) → new_esEs12(new_compare15(xuu400, xuu30, dad))
new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, False, cgb, cgc, cgd) → GT
new_esEs39(xuu40001, xuu3001, app(app(app(ty_@3, ffb), ffc), ffd)) → new_esEs18(xuu40001, xuu3001, ffb, ffc, ffd)
new_esEs8(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_lt19(xuu109, xuu112, ty_Ordering) → new_lt10(xuu109, xuu112)
new_ltEs19(xuu551, xuu561, ty_@0) → new_ltEs4(xuu551, xuu561)
new_primMulInt(Pos(xuu40010), Pos(xuu3010)) → Pos(new_primMulNat0(xuu40010, xuu3010))
new_esEs30(xuu40001, xuu3001, ty_Char) → new_esEs23(xuu40001, xuu3001)
new_ltEs7(xuu55, xuu56, daa) → new_fsEs(new_compare15(xuu55, xuu56, daa))
new_esEs32(xuu109, xuu112, app(app(app(ty_@3, bfd), bfe), bff)) → new_esEs18(xuu109, xuu112, bfd, bfe, bff)
new_esEs11(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_ltEs5(LT, GT) → True
new_lt16(xuu400, xuu30) → new_esEs12(new_compare8(xuu400, xuu30))
new_lt22(xuu550, xuu560, ty_@0) → new_lt16(xuu550, xuu560)
new_ltEs19(xuu551, xuu561, app(ty_Maybe, bde)) → new_ltEs8(xuu551, xuu561, bde)
new_primMulInt(Neg(xuu40010), Neg(xuu3010)) → Pos(new_primMulNat0(xuu40010, xuu3010))
new_ltEs16(Right(xuu550), Right(xuu560), bag, app(ty_[], bah)) → new_ltEs9(xuu550, xuu560, bah)
new_esEs13(GT, GT) → True
new_esEs36(xuu551, xuu561, app(app(ty_Either, fh), ga)) → new_esEs25(xuu551, xuu561, fh, ga)
new_esEs4(xuu4000, xuu300, app(app(app(ty_@3, dca), dcb), dcc)) → new_esEs18(xuu4000, xuu300, dca, dcb, dcc)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Ordering, hf) → new_ltEs5(xuu550, xuu560)
new_esEs7(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_primEqNat0(Succ(xuu400000), Zero) → False
new_primEqNat0(Zero, Succ(xuu30000)) → False
new_ltEs19(xuu551, xuu561, app(app(app(ty_@3, bdf), bdg), bdh)) → new_ltEs14(xuu551, xuu561, bdf, bdg, bdh)
new_primPlusNat0(Zero, Zero) → Zero
new_esEs5(xuu4002, xuu302, ty_@0) → new_esEs22(xuu4002, xuu302)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Bool, dch) → new_esEs15(xuu40000, xuu3000)
new_lt20(xuu108, xuu111, app(app(ty_Either, cab), cac)) → new_lt18(xuu108, xuu111, cab, cac)
new_lt17(xuu400, xuu30) → new_esEs12(new_compare12(xuu400, xuu30))
new_primEqInt(Pos(Zero), Pos(Zero)) → True
new_lt5(xuu400, xuu30, bee, bef, beg) → new_esEs12(new_compare9(xuu400, xuu30, bee, bef, beg))
new_ltEs21(xuu77, xuu78, ty_Float) → new_ltEs6(xuu77, xuu78)
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_Ratio, fcd)) → new_esEs17(xuu40000, xuu3000, fcd)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_lt19(xuu109, xuu112, ty_Double) → new_lt17(xuu109, xuu112)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_@0) → new_esEs22(xuu40000, xuu3000)
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(ty_Either, fdc), fdd)) → new_esEs25(xuu40000, xuu3000, fdc, fdd)
new_compare17(LT, EQ) → LT
new_esEs33(xuu108, xuu111, app(ty_Maybe, bhf)) → new_esEs21(xuu108, xuu111, bhf)
new_esEs11(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_esEs40(xuu40000, xuu3000, app(app(ty_@2, fgg), fgh)) → new_esEs19(xuu40000, xuu3000, fgg, fgh)
new_esEs5(xuu4002, xuu302, ty_Ordering) → new_esEs13(xuu4002, xuu302)
new_lt23(xuu551, xuu561, ty_Double) → new_lt17(xuu551, xuu561)
new_esEs33(xuu108, xuu111, ty_Double) → new_esEs16(xuu108, xuu111)
new_lt21(xuu121, xuu123, ty_Integer) → new_lt6(xuu121, xuu123)
new_ltEs18(xuu55, xuu56, app(app(ty_@2, bdc), bcb)) → new_ltEs17(xuu55, xuu56, bdc, bcb)
new_esEs40(xuu40000, xuu3000, app(ty_Maybe, fha)) → new_esEs21(xuu40000, xuu3000, fha)
new_lt20(xuu108, xuu111, ty_Char) → new_lt14(xuu108, xuu111)
new_esEs9(xuu4000, xuu300, app(app(ty_Either, efd), efe)) → new_esEs25(xuu4000, xuu300, efd, efe)
new_ltEs19(xuu551, xuu561, ty_Bool) → new_ltEs10(xuu551, xuu561)
new_ltEs23(xuu122, xuu124, ty_Double) → new_ltEs15(xuu122, xuu124)
new_esEs35(xuu40000, xuu3000, app(app(app(ty_@3, fah), fba), fbb)) → new_esEs18(xuu40000, xuu3000, fah, fba, fbb)
new_esEs31(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_compare17(EQ, GT) → LT
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_[], he), hf) → new_ltEs9(xuu550, xuu560, he)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Int, dch) → new_esEs24(xuu40000, xuu3000)
new_ltEs12(xuu55, xuu56) → new_fsEs(new_compare19(xuu55, xuu56))
new_esEs9(xuu4000, xuu300, app(ty_Ratio, eee)) → new_esEs17(xuu4000, xuu300, eee)
new_ltEs21(xuu77, xuu78, app(ty_Maybe, cbb)) → new_ltEs8(xuu77, xuu78, cbb)
new_primCmpInt(Neg(Zero), Neg(Succ(xuu3000))) → new_primCmpNat0(Succ(xuu3000), Zero)
new_primCmpInt(Pos(Zero), Neg(Succ(xuu3000))) → GT
new_esEs7(xuu4000, xuu300, app(app(app(ty_@3, cha), chb), chc)) → new_esEs18(xuu4000, xuu300, cha, chb, chc)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_Ratio, dac)) → new_ltEs7(xuu550, xuu560, dac)
new_esEs31(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_lt20(xuu108, xuu111, app(ty_Maybe, bhf)) → new_lt9(xuu108, xuu111, bhf)
new_compare31(xuu4000, xuu300, app(ty_[], ba)) → new_compare(xuu4000, xuu300, ba)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Float) → new_ltEs6(xuu550, xuu560)
new_compare30(True, False) → GT
new_esEs40(xuu40000, xuu3000, app(app(app(ty_@3, fgd), fge), fgf)) → new_esEs18(xuu40000, xuu3000, fgd, fge, fgf)
new_esEs35(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_esEs5(xuu4002, xuu302, app(app(ty_@2, ddg), ddh)) → new_esEs19(xuu4002, xuu302, ddg, ddh)
new_esEs9(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_esEs4(xuu4000, xuu300, app(ty_Ratio, dbh)) → new_esEs17(xuu4000, xuu300, dbh)
new_lt20(xuu108, xuu111, ty_Float) → new_lt7(xuu108, xuu111)
new_ltEs19(xuu551, xuu561, ty_Integer) → new_ltEs11(xuu551, xuu561)
new_esEs5(xuu4002, xuu302, ty_Int) → new_esEs24(xuu4002, xuu302)
new_esEs33(xuu108, xuu111, app(app(ty_Either, cab), cac)) → new_esEs25(xuu108, xuu111, cab, cac)
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_Maybe, hg), hf) → new_ltEs8(xuu550, xuu560, hg)
new_esEs33(xuu108, xuu111, ty_Char) → new_esEs23(xuu108, xuu111)
new_compare14(xuu195, xuu196, xuu197, xuu198, True, cge, cgf) → LT
new_ltEs24(xuu552, xuu562, ty_Float) → new_ltEs6(xuu552, xuu562)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_Ratio, eae), dch) → new_esEs17(xuu40000, xuu3000, eae)
new_ltEs21(xuu77, xuu78, ty_Integer) → new_ltEs11(xuu77, xuu78)
new_esEs40(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_@0, dch) → new_esEs22(xuu40000, xuu3000)
new_primCmpInt(Neg(Zero), Neg(Zero)) → EQ
new_esEs10(xuu4001, xuu301, ty_Integer) → new_esEs26(xuu4001, xuu301)
new_esEs37(xuu550, xuu560, ty_Ordering) → new_esEs13(xuu550, xuu560)
new_compare13(xuu195, xuu196, xuu197, xuu198, True, xuu200, cge, cgf) → new_compare14(xuu195, xuu196, xuu197, xuu198, True, cge, cgf)
new_esEs9(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_lt22(xuu550, xuu560, ty_Ordering) → new_lt10(xuu550, xuu560)
new_esEs11(xuu4000, xuu300, app(ty_[], egh)) → new_esEs14(xuu4000, xuu300, egh)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_Maybe, ce)) → new_ltEs8(xuu550, xuu560, ce)
new_lt19(xuu109, xuu112, ty_Bool) → new_lt13(xuu109, xuu112)
new_compare31(xuu4000, xuu300, app(ty_Maybe, bb)) → new_compare16(xuu4000, xuu300, bb)
new_ltEs6(xuu55, xuu56) → new_fsEs(new_compare6(xuu55, xuu56))
new_lt22(xuu550, xuu560, ty_Float) → new_lt7(xuu550, xuu560)
new_esEs11(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_ltEs10(True, False) → False
new_esEs10(xuu4001, xuu301, ty_Char) → new_esEs23(xuu4001, xuu301)
new_asAs(False, xuu153) → False
new_compare27(Right(xuu4000), Left(xuu300), caf, cag) → GT
new_ltEs18(xuu55, xuu56, ty_Double) → new_ltEs15(xuu55, xuu56)
new_primMulInt(Neg(xuu40010), Pos(xuu3010)) → Neg(new_primMulNat0(xuu40010, xuu3010))
new_primMulInt(Pos(xuu40010), Neg(xuu3010)) → Neg(new_primMulNat0(xuu40010, xuu3010))
new_esEs36(xuu551, xuu561, app(ty_Maybe, fc)) → new_esEs21(xuu551, xuu561, fc)
new_esEs32(xuu109, xuu112, ty_Int) → new_esEs24(xuu109, xuu112)
new_primMulNat0(Succ(xuu400100), Zero) → Zero
new_primMulNat0(Zero, Succ(xuu30100)) → Zero
new_fsEs(xuu206) → new_not(new_esEs13(xuu206, GT))
new_esEs4(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_ltEs18(xuu55, xuu56, ty_Ordering) → new_ltEs5(xuu55, xuu56)
new_esEs13(GT, EQ) → False
new_esEs13(EQ, GT) → False
new_esEs36(xuu551, xuu561, ty_Bool) → new_esEs15(xuu551, xuu561)
new_esEs21(Nothing, Just(xuu3000), dcf) → False
new_esEs21(Just(xuu40000), Nothing, dcf) → False
new_esEs7(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_ltEs5(LT, EQ) → True
new_ltEs16(Left(xuu550), Left(xuu560), app(app(ty_@2, bae), baf), hf) → new_ltEs17(xuu550, xuu560, bae, baf)
new_esEs32(xuu109, xuu112, ty_Bool) → new_esEs15(xuu109, xuu112)
new_esEs35(xuu40000, xuu3000, app(ty_[], faf)) → new_esEs14(xuu40000, xuu3000, faf)
new_compare31(xuu4000, xuu300, ty_Double) → new_compare12(xuu4000, xuu300)
new_esEs31(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_ltEs14(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fa, dg, dh) → new_pePe(new_lt22(xuu550, xuu560, fa), new_asAs(new_esEs37(xuu550, xuu560, fa), new_pePe(new_lt23(xuu551, xuu561, dg), new_asAs(new_esEs36(xuu551, xuu561, dg), new_ltEs24(xuu552, xuu562, dh)))))
new_compare31(xuu4000, xuu300, app(app(ty_@2, bh), ca)) → new_compare5(xuu4000, xuu300, bh, ca)
new_esEs30(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_esEs39(xuu40001, xuu3001, app(app(ty_Either, ffh), fga)) → new_esEs25(xuu40001, xuu3001, ffh, fga)
new_compare11(Integer(xuu4000), Integer(xuu300)) → new_primCmpInt(xuu4000, xuu300)
new_esEs40(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_ltEs21(xuu77, xuu78, ty_Double) → new_ltEs15(xuu77, xuu78)
new_compare31(xuu4000, xuu300, app(ty_Ratio, egg)) → new_compare15(xuu4000, xuu300, egg)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, app(app(ty_@2, ecc), ecd)) → new_esEs19(xuu40000, xuu3000, ecc, ecd)
new_ltEs16(Right(xuu550), Right(xuu560), bag, ty_Integer) → new_ltEs11(xuu550, xuu560)
new_esEs36(xuu551, xuu561, app(ty_[], fb)) → new_esEs14(xuu551, xuu561, fb)
new_esEs40(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_esEs6(xuu4001, xuu301, app(ty_Ratio, dee)) → new_esEs17(xuu4001, xuu301, dee)
new_lt12(xuu400, xuu30, h) → new_esEs12(new_compare(xuu400, xuu30, h))
new_esEs6(xuu4001, xuu301, ty_Bool) → new_esEs15(xuu4001, xuu301)
new_esEs7(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_ltEs24(xuu552, xuu562, app(ty_[], gd)) → new_ltEs9(xuu552, xuu562, gd)
new_lt6(xuu400, xuu30) → new_esEs12(new_compare11(xuu400, xuu30))
new_ltEs18(xuu55, xuu56, ty_Char) → new_ltEs12(xuu55, xuu56)
new_esEs33(xuu108, xuu111, ty_@0) → new_esEs22(xuu108, xuu111)
new_compare30(True, True) → EQ
new_compare18(xuu144, xuu145, True, fde) → LT
new_esEs18(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), dca, dcb, dcc) → new_asAs(new_esEs40(xuu40000, xuu3000, dca), new_asAs(new_esEs39(xuu40001, xuu3001, dcb), new_esEs38(xuu40002, xuu3002, dcc)))
new_ltEs23(xuu122, xuu124, ty_Char) → new_ltEs12(xuu122, xuu124)
new_lt22(xuu550, xuu560, app(app(ty_Either, ee), ef)) → new_lt18(xuu550, xuu560, ee, ef)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Float) → new_esEs20(xuu40000, xuu3000)
new_esEs24(xuu4000, xuu300) → new_primEqInt(xuu4000, xuu300)
new_ltEs18(xuu55, xuu56, app(app(ty_Either, bag), hf)) → new_ltEs16(xuu55, xuu56, bag, hf)
new_esEs33(xuu108, xuu111, app(app(ty_@2, cad), cae)) → new_esEs19(xuu108, xuu111, cad, cae)
new_esEs33(xuu108, xuu111, ty_Bool) → new_esEs15(xuu108, xuu111)
new_ltEs23(xuu122, xuu124, app(app(ty_@2, cdd), cde)) → new_ltEs17(xuu122, xuu124, cdd, cde)
new_lt19(xuu109, xuu112, ty_@0) → new_lt16(xuu109, xuu112)
new_compare18(xuu144, xuu145, False, fde) → GT
new_ltEs16(Right(xuu550), Left(xuu560), bag, hf) → False
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, app(ty_Maybe, ece)) → new_esEs21(xuu40000, xuu3000, ece)
new_esEs34(xuu121, xuu123, ty_Integer) → new_esEs26(xuu121, xuu123)
new_esEs7(xuu4000, xuu300, app(ty_[], cgg)) → new_esEs14(xuu4000, xuu300, cgg)
new_compare31(xuu4000, xuu300, ty_Char) → new_compare19(xuu4000, xuu300)
new_esEs34(xuu121, xuu123, ty_Ordering) → new_esEs13(xuu121, xuu123)
new_esEs34(xuu121, xuu123, ty_Char) → new_esEs23(xuu121, xuu123)
new_esEs32(xuu109, xuu112, app(ty_Ratio, efh)) → new_esEs17(xuu109, xuu112, efh)
new_esEs35(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_ltEs24(xuu552, xuu562, ty_Char) → new_ltEs12(xuu552, xuu562)
new_esEs34(xuu121, xuu123, app(ty_[], cdf)) → new_esEs14(xuu121, xuu123, cdf)
new_esEs39(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_esEs37(xuu550, xuu560, app(ty_[], df)) → new_esEs14(xuu550, xuu560, df)
new_lt23(xuu551, xuu561, app(app(app(ty_@3, fd), ff), fg)) → new_lt5(xuu551, xuu561, fd, ff, fg)
new_ltEs23(xuu122, xuu124, ty_Ordering) → new_ltEs5(xuu122, xuu124)
new_lt23(xuu551, xuu561, app(app(ty_@2, gb), gc)) → new_lt4(xuu551, xuu561, gb, gc)
new_esEs39(xuu40001, xuu3001, ty_Char) → new_esEs23(xuu40001, xuu3001)
new_esEs9(xuu4000, xuu300, app(ty_Maybe, efc)) → new_esEs21(xuu4000, xuu300, efc)
new_ltEs18(xuu55, xuu56, app(ty_Maybe, dab)) → new_ltEs8(xuu55, xuu56, dab)
new_esEs10(xuu4001, xuu301, app(ty_Ratio, daf)) → new_esEs17(xuu4001, xuu301, daf)
new_compare31(xuu4000, xuu300, ty_Float) → new_compare6(xuu4000, xuu300)
new_esEs11(xuu4000, xuu300, app(app(ty_@2, ehe), ehf)) → new_esEs19(xuu4000, xuu300, ehe, ehf)
new_ltEs16(Right(xuu550), Right(xuu560), bag, ty_Double) → new_ltEs15(xuu550, xuu560)
new_esEs4(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_ltEs22(xuu84, xuu85, app(app(ty_@2, cfh), cga)) → new_ltEs17(xuu84, xuu85, cfh, cga)
new_ltEs8(Nothing, Nothing, dab) → True
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_compare27(Right(xuu4000), Right(xuu300), caf, cag) → new_compare29(xuu4000, xuu300, new_esEs9(xuu4000, xuu300, cag), caf, cag)
new_compare25(xuu55, xuu56, False, dda) → new_compare18(xuu55, xuu56, new_ltEs18(xuu55, xuu56, dda), dda)
new_esEs37(xuu550, xuu560, ty_Char) → new_esEs23(xuu550, xuu560)
new_compare31(xuu4000, xuu300, ty_Ordering) → new_compare17(xuu4000, xuu300)
new_esEs33(xuu108, xuu111, ty_Int) → new_esEs24(xuu108, xuu111)
new_esEs40(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_compare13(xuu195, xuu196, xuu197, xuu198, False, xuu200, cge, cgf) → new_compare14(xuu195, xuu196, xuu197, xuu198, xuu200, cge, cgf)
new_esEs40(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_lt21(xuu121, xuu123, ty_Double) → new_lt17(xuu121, xuu123)
new_esEs38(xuu40002, xuu3002, ty_Double) → new_esEs16(xuu40002, xuu3002)
new_ltEs22(xuu84, xuu85, app(ty_[], cfa)) → new_ltEs9(xuu84, xuu85, cfa)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_ltEs22(xuu84, xuu85, ty_Bool) → new_ltEs10(xuu84, xuu85)
new_esEs6(xuu4001, xuu301, ty_Integer) → new_esEs26(xuu4001, xuu301)
new_lt21(xuu121, xuu123, app(app(ty_Either, ced), cee)) → new_lt18(xuu121, xuu123, ced, cee)
new_lt21(xuu121, xuu123, app(app(ty_@2, cef), ceg)) → new_lt4(xuu121, xuu123, cef, ceg)
new_esEs35(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_Maybe, ebc), dch) → new_esEs21(xuu40000, xuu3000, ebc)
new_esEs37(xuu550, xuu560, ty_Integer) → new_esEs26(xuu550, xuu560)
new_ltEs19(xuu551, xuu561, ty_Double) → new_ltEs15(xuu551, xuu561)
new_esEs10(xuu4001, xuu301, ty_Float) → new_esEs20(xuu4001, xuu301)
new_esEs31(xuu40000, xuu3000, app(ty_Ratio, dhc)) → new_esEs17(xuu40000, xuu3000, dhc)
new_esEs17(:%(xuu40000, xuu40001), :%(xuu3000, xuu3001), dbh) → new_asAs(new_esEs29(xuu40000, xuu3000, dbh), new_esEs28(xuu40001, xuu3001, dbh))
new_primMulNat0(Succ(xuu400100), Succ(xuu30100)) → new_primPlusNat0(new_primMulNat0(xuu400100, Succ(xuu30100)), Succ(xuu30100))
new_esEs10(xuu4001, xuu301, app(app(ty_@2, dbb), dbc)) → new_esEs19(xuu4001, xuu301, dbb, dbc)
new_esEs30(xuu40001, xuu3001, app(app(ty_Either, dgh), dha)) → new_esEs25(xuu40001, xuu3001, dgh, dha)
new_esEs38(xuu40002, xuu3002, app(ty_Maybe, fee)) → new_esEs21(xuu40002, xuu3002, fee)
new_lt20(xuu108, xuu111, app(app(app(ty_@3, bhg), bhh), caa)) → new_lt5(xuu108, xuu111, bhg, bhh, caa)
new_primPlusNat0(Succ(xuu39200), Succ(xuu13400)) → Succ(Succ(new_primPlusNat0(xuu39200, xuu13400)))
new_compare17(LT, LT) → EQ
new_esEs32(xuu109, xuu112, ty_@0) → new_esEs22(xuu109, xuu112)
new_ltEs19(xuu551, xuu561, ty_Ordering) → new_ltEs5(xuu551, xuu561)
new_esEs27(xuu550, xuu560, app(app(ty_Either, bcg), bch)) → new_esEs25(xuu550, xuu560, bcg, bch)
new_lt18(xuu400, xuu30, caf, cag) → new_esEs12(new_compare27(xuu400, xuu30, caf, cag))
new_lt20(xuu108, xuu111, ty_Ordering) → new_lt10(xuu108, xuu111)
new_ltEs10(True, True) → True
new_esEs27(xuu550, xuu560, app(ty_[], bca)) → new_esEs14(xuu550, xuu560, bca)
new_compare111(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, False, xuu187, cgb, cgc, cgd) → new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, xuu187, cgb, cgc, cgd)
new_esEs38(xuu40002, xuu3002, ty_Bool) → new_esEs15(xuu40002, xuu3002)
new_esEs5(xuu4002, xuu302, app(app(app(ty_@3, ddd), dde), ddf)) → new_esEs18(xuu4002, xuu302, ddd, dde, ddf)
new_compare16(Just(xuu4000), Nothing, cb) → GT
new_ltEs8(Just(xuu550), Just(xuu560), ty_Char) → new_ltEs12(xuu550, xuu560)
new_esEs9(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_ltEs22(xuu84, xuu85, app(ty_Maybe, cfb)) → new_ltEs8(xuu84, xuu85, cfb)
new_asAs(True, xuu153) → xuu153
new_esEs6(xuu4001, xuu301, ty_@0) → new_esEs22(xuu4001, xuu301)
new_compare112(xuu158, xuu159, True, fad, fae) → LT
new_ltEs19(xuu551, xuu561, app(ty_Ratio, dfg)) → new_ltEs7(xuu551, xuu561, dfg)
new_lt11(xuu550, xuu560, ty_Float) → new_lt7(xuu550, xuu560)
new_ltEs5(GT, GT) → True
new_esEs10(xuu4001, xuu301, ty_@0) → new_esEs22(xuu4001, xuu301)
new_compare31(xuu4000, xuu300, ty_Int) → new_compare7(xuu4000, xuu300)
new_esEs38(xuu40002, xuu3002, ty_Int) → new_esEs24(xuu40002, xuu3002)
new_ltEs22(xuu84, xuu85, ty_Double) → new_ltEs15(xuu84, xuu85)
new_esEs31(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_esEs32(xuu109, xuu112, ty_Double) → new_esEs16(xuu109, xuu112)
new_lt11(xuu550, xuu560, app(app(ty_@2, bda), bdb)) → new_lt4(xuu550, xuu560, bda, bdb)
new_esEs27(xuu550, xuu560, ty_Bool) → new_esEs15(xuu550, xuu560)
new_compare8(@0, @0) → EQ
new_esEs31(xuu40000, xuu3000, app(app(ty_Either, eab), eac)) → new_esEs25(xuu40000, xuu3000, eab, eac)
new_primCompAux0(xuu4000, xuu300, xuu45, h) → new_primCompAux00(xuu45, new_compare31(xuu4000, xuu300, h))
new_esEs23(Char(xuu40000), Char(xuu3000)) → new_primEqNat0(xuu40000, xuu3000)
new_ltEs23(xuu122, xuu124, ty_@0) → new_ltEs4(xuu122, xuu124)
new_ltEs11(xuu55, xuu56) → new_fsEs(new_compare11(xuu55, xuu56))
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(ty_Either, ebd), ebe), dch) → new_esEs25(xuu40000, xuu3000, ebd, ebe)
new_ltEs16(Left(xuu550), Left(xuu560), app(app(ty_Either, bac), bad), hf) → new_ltEs16(xuu550, xuu560, bac, bad)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, app(app(ty_Either, ecf), ecg)) → new_esEs25(xuu40000, xuu3000, ecf, ecg)
new_esEs30(xuu40001, xuu3001, ty_Double) → new_esEs16(xuu40001, xuu3001)
new_esEs34(xuu121, xuu123, app(app(ty_@2, cef), ceg)) → new_esEs19(xuu121, xuu123, cef, ceg)
new_ltEs21(xuu77, xuu78, ty_Int) → new_ltEs13(xuu77, xuu78)
new_esEs25(Right(xuu40000), Right(xuu3000), dcg, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_lt23(xuu551, xuu561, app(app(ty_Either, fh), ga)) → new_lt18(xuu551, xuu561, fh, ga)
new_lt11(xuu550, xuu560, app(app(app(ty_@3, bcd), bce), bcf)) → new_lt5(xuu550, xuu560, bcd, bce, bcf)
new_lt19(xuu109, xuu112, app(ty_Ratio, efh)) → new_lt8(xuu109, xuu112, efh)
new_ltEs24(xuu552, xuu562, ty_@0) → new_ltEs4(xuu552, xuu562)
new_esEs27(xuu550, xuu560, app(ty_Ratio, dff)) → new_esEs17(xuu550, xuu560, dff)
new_esEs36(xuu551, xuu561, app(ty_Ratio, fca)) → new_esEs17(xuu551, xuu561, fca)
new_lt23(xuu551, xuu561, ty_Int) → new_lt15(xuu551, xuu561)
new_esEs33(xuu108, xuu111, ty_Ordering) → new_esEs13(xuu108, xuu111)
new_esEs36(xuu551, xuu561, ty_Int) → new_esEs24(xuu551, xuu561)
new_esEs38(xuu40002, xuu3002, app(ty_Ratio, fdg)) → new_esEs17(xuu40002, xuu3002, fdg)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Ordering, dch) → new_esEs13(xuu40000, xuu3000)
new_lt7(xuu400, xuu30) → new_esEs12(new_compare6(xuu400, xuu30))
new_primCompAux00(xuu49, GT) → GT
new_esEs36(xuu551, xuu561, ty_Double) → new_esEs16(xuu551, xuu561)
new_ltEs19(xuu551, xuu561, app(app(ty_Either, bea), beb)) → new_ltEs16(xuu551, xuu561, bea, beb)
new_ltEs21(xuu77, xuu78, app(app(ty_Either, cbf), cbg)) → new_ltEs16(xuu77, xuu78, cbf, cbg)
new_esEs39(xuu40001, xuu3001, app(app(ty_@2, ffe), fff)) → new_esEs19(xuu40001, xuu3001, ffe, fff)
new_esEs8(xuu4000, xuu300, app(ty_Ratio, edc)) → new_esEs17(xuu4000, xuu300, edc)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Double) → new_ltEs15(xuu550, xuu560)
new_primCmpInt(Pos(Zero), Pos(Zero)) → EQ
new_ltEs16(Right(xuu550), Right(xuu560), bag, ty_Int) → new_ltEs13(xuu550, xuu560)
new_ltEs5(GT, EQ) → False
new_esEs4(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_ltEs17(@2(xuu550, xuu551), @2(xuu560, xuu561), bdc, bcb) → new_pePe(new_lt11(xuu550, xuu560, bdc), new_asAs(new_esEs27(xuu550, xuu560, bdc), new_ltEs19(xuu551, xuu561, bcb)))
new_esEs5(xuu4002, xuu302, ty_Bool) → new_esEs15(xuu4002, xuu302)
new_esEs39(xuu40001, xuu3001, app(ty_[], feh)) → new_esEs14(xuu40001, xuu3001, feh)
new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, cgb, cgc, cgd) → LT
new_esEs4(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_esEs9(xuu4000, xuu300, app(app(ty_@2, efa), efb)) → new_esEs19(xuu4000, xuu300, efa, efb)
new_primEqInt(Pos(Zero), Neg(Zero)) → True
new_primEqInt(Neg(Zero), Pos(Zero)) → True
new_esEs22(@0, @0) → True
new_esEs39(xuu40001, xuu3001, ty_Double) → new_esEs16(xuu40001, xuu3001)
new_primCmpInt(Neg(Succ(xuu40000)), Pos(xuu300)) → LT
new_esEs34(xuu121, xuu123, ty_Bool) → new_esEs15(xuu121, xuu123)
new_esEs20(Float(xuu40000, xuu40001), Float(xuu3000, xuu3001)) → new_esEs24(new_sr(xuu40000, xuu3000), new_sr(xuu40001, xuu3001))
new_ltEs18(xuu55, xuu56, app(app(app(ty_@3, fa), dg), dh)) → new_ltEs14(xuu55, xuu56, fa, dg, dh)
new_not(True) → False
new_compare210(xuu121, xuu122, xuu123, xuu124, True, ccd, cdg) → EQ
new_esEs31(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs15(False, False) → True
new_compare26(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, beh, bgc, bfb) → new_compare111(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, new_lt20(xuu108, xuu111, beh), new_asAs(new_esEs33(xuu108, xuu111, beh), new_pePe(new_lt19(xuu109, xuu112, bgc), new_asAs(new_esEs32(xuu109, xuu112, bgc), new_ltEs20(xuu110, xuu113, bfb)))), beh, bgc, bfb)

The set Q consists of the following terms:

new_ltEs18(x0, x1, ty_Int)
new_ltEs16(Left(x0), Left(x1), app(app(ty_Either, x2), x3), x4)
new_esEs4(x0, x1, ty_Integer)
new_compare112(x0, x1, True, x2, x3)
new_primMulInt(Pos(x0), Pos(x1))
new_lt11(x0, x1, ty_Float)
new_primMulNat0(Zero, Succ(x0))
new_compare110(x0, x1, True, x2, x3)
new_esEs9(x0, x1, app(app(ty_@2, x2), x3))
new_esEs21(Just(x0), Just(x1), ty_@0)
new_esEs7(x0, x1, ty_Integer)
new_ltEs22(x0, x1, ty_@0)
new_lt20(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primEqInt(Neg(Succ(x0)), Neg(Zero))
new_ltEs21(x0, x1, ty_Double)
new_esEs31(x0, x1, app(ty_[], x2))
new_compare16(Nothing, Nothing, x0)
new_lt21(x0, x1, app(ty_Maybe, x2))
new_lt19(x0, x1, ty_Ordering)
new_esEs30(x0, x1, app(ty_Maybe, x2))
new_lt22(x0, x1, app(ty_Maybe, x2))
new_esEs39(x0, x1, ty_@0)
new_compare17(EQ, EQ)
new_esEs36(x0, x1, ty_Float)
new_esEs21(Just(x0), Just(x1), ty_Char)
new_ltEs13(x0, x1)
new_esEs40(x0, x1, ty_Char)
new_esEs8(x0, x1, ty_Float)
new_lt19(x0, x1, ty_Bool)
new_ltEs20(x0, x1, app(app(ty_@2, x2), x3))
new_esEs21(Just(x0), Just(x1), app(app(ty_Either, x2), x3))
new_esEs25(Right(x0), Left(x1), x2, x3)
new_esEs25(Left(x0), Right(x1), x2, x3)
new_esEs4(x0, x1, ty_Int)
new_ltEs4(x0, x1)
new_ltEs19(x0, x1, ty_Char)
new_esEs39(x0, x1, ty_Char)
new_ltEs20(x0, x1, ty_Integer)
new_esEs33(x0, x1, ty_Float)
new_esEs27(x0, x1, ty_Int)
new_esEs11(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs25(Left(x0), Left(x1), ty_Bool, x2)
new_ltEs8(Just(x0), Just(x1), app(ty_[], x2))
new_lt21(x0, x1, app(app(ty_@2, x2), x3))
new_esEs25(Right(x0), Right(x1), x2, ty_Ordering)
new_lt22(x0, x1, ty_Ordering)
new_compare28(x0, x1, False, x2, x3)
new_esEs38(x0, x1, app(ty_Ratio, x2))
new_primEqInt(Pos(Zero), Pos(Succ(x0)))
new_esEs25(Left(x0), Left(x1), ty_Float, x2)
new_esEs25(Right(x0), Right(x1), x2, app(ty_Maybe, x3))
new_esEs13(GT, GT)
new_esEs6(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs8(Just(x0), Just(x1), ty_Int)
new_esEs11(x0, x1, ty_Integer)
new_esEs15(True, True)
new_esEs35(x0, x1, app(ty_[], x2))
new_esEs21(Just(x0), Just(x1), app(ty_Maybe, x2))
new_esEs40(x0, x1, app(app(ty_@2, x2), x3))
new_esEs35(x0, x1, app(ty_Ratio, x2))
new_esEs11(x0, x1, ty_Int)
new_compare([], :(x0, x1), x2)
new_esEs39(x0, x1, app(ty_Ratio, x2))
new_ltEs20(x0, x1, app(app(ty_Either, x2), x3))
new_esEs8(x0, x1, app(ty_Maybe, x2))
new_esEs21(Just(x0), Just(x1), app(ty_Ratio, x2))
new_pePe(True, x0)
new_lt19(x0, x1, app(app(ty_@2, x2), x3))
new_esEs25(Left(x0), Left(x1), ty_@0, x2)
new_esEs30(x0, x1, ty_Integer)
new_esEs10(x0, x1, ty_@0)
new_ltEs23(x0, x1, app(app(ty_Either, x2), x3))
new_lt19(x0, x1, app(ty_Ratio, x2))
new_esEs37(x0, x1, ty_Int)
new_ltEs16(Left(x0), Left(x1), ty_Ordering, x2)
new_ltEs23(x0, x1, ty_Integer)
new_lt21(x0, x1, ty_Int)
new_esEs35(x0, x1, ty_Int)
new_compare31(x0, x1, ty_Char)
new_ltEs15(x0, x1)
new_esEs33(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs8(Just(x0), Just(x1), app(app(ty_@2, x2), x3))
new_ltEs16(Left(x0), Left(x1), app(ty_Maybe, x2), x3)
new_ltEs16(Right(x0), Right(x1), x2, app(app(ty_@2, x3), x4))
new_lt19(x0, x1, app(ty_[], x2))
new_esEs25(Right(x0), Right(x1), x2, app(ty_[], x3))
new_ltEs24(x0, x1, ty_Int)
new_ltEs5(GT, EQ)
new_ltEs5(EQ, GT)
new_esEs15(False, False)
new_compare16(Just(x0), Nothing, x1)
new_lt11(x0, x1, app(ty_Ratio, x2))
new_esEs38(x0, x1, ty_Double)
new_esEs25(Left(x0), Left(x1), ty_Integer, x2)
new_esEs16(Double(x0, x1), Double(x2, x3))
new_esEs4(x0, x1, ty_@0)
new_esEs6(x0, x1, ty_Double)
new_esEs35(x0, x1, ty_Integer)
new_esEs35(x0, x1, ty_Bool)
new_esEs40(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs8(Nothing, Just(x0), x1)
new_primCmpInt(Neg(Succ(x0)), Neg(x1))
new_esEs34(x0, x1, ty_Double)
new_ltEs16(Right(x0), Left(x1), x2, x3)
new_ltEs21(x0, x1, ty_Char)
new_ltEs16(Left(x0), Right(x1), x2, x3)
new_esEs32(x0, x1, ty_Char)
new_esEs25(Left(x0), Left(x1), app(app(ty_@2, x2), x3), x4)
new_ltEs8(Just(x0), Just(x1), ty_Char)
new_esEs25(Right(x0), Right(x1), x2, app(ty_Ratio, x3))
new_lt22(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs20(x0, x1, app(ty_Maybe, x2))
new_compare31(x0, x1, ty_Integer)
new_lt22(x0, x1, app(ty_Ratio, x2))
new_compare30(False, False)
new_compare17(GT, GT)
new_ltEs8(Just(x0), Just(x1), app(app(app(ty_@3, x2), x3), x4))
new_esEs33(x0, x1, ty_Double)
new_ltEs16(Right(x0), Right(x1), x2, ty_Float)
new_primCompAux0(x0, x1, x2, x3)
new_lt11(x0, x1, ty_@0)
new_compare8(@0, @0)
new_ltEs22(x0, x1, app(ty_[], x2))
new_primMulInt(Neg(x0), Neg(x1))
new_lt22(x0, x1, app(ty_[], x2))
new_esEs38(x0, x1, ty_@0)
new_lt22(x0, x1, ty_Double)
new_esEs40(x0, x1, app(app(ty_Either, x2), x3))
new_esEs31(x0, x1, app(ty_Maybe, x2))
new_lt11(x0, x1, ty_Int)
new_ltEs18(x0, x1, ty_Bool)
new_ltEs22(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs13(GT, LT)
new_esEs13(LT, GT)
new_ltEs24(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs36(x0, x1, ty_Bool)
new_lt22(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs20(x0, x1, ty_Ordering)
new_ltEs16(Right(x0), Right(x1), x2, app(ty_[], x3))
new_lt21(x0, x1, app(ty_Ratio, x2))
new_esEs35(x0, x1, ty_@0)
new_esEs9(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs27(x0, x1, app(ty_[], x2))
new_esEs4(x0, x1, app(ty_Maybe, x2))
new_compare14(x0, x1, x2, x3, False, x4, x5)
new_esEs4(x0, x1, app(ty_[], x2))
new_lt11(x0, x1, ty_Bool)
new_esEs22(@0, @0)
new_esEs21(Just(x0), Nothing, x1)
new_ltEs16(Left(x0), Left(x1), app(app(app(ty_@3, x2), x3), x4), x5)
new_ltEs5(LT, EQ)
new_ltEs5(EQ, LT)
new_ltEs16(Right(x0), Right(x1), x2, app(ty_Maybe, x3))
new_primPlusNat0(Zero, Succ(x0))
new_lt16(x0, x1)
new_esEs38(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs20(x0, x1, ty_Int)
new_compare25(x0, x1, True, x2)
new_esEs11(x0, x1, ty_Ordering)
new_compare11(Integer(x0), Integer(x1))
new_primEqNat0(Zero, Zero)
new_ltEs8(Just(x0), Just(x1), ty_@0)
new_compare26(x0, x1, x2, x3, x4, x5, True, x6, x7, x8)
new_esEs32(x0, x1, ty_Double)
new_esEs35(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt23(x0, x1, app(ty_[], x2))
new_lt19(x0, x1, ty_Integer)
new_esEs34(x0, x1, ty_Float)
new_ltEs16(Right(x0), Right(x1), x2, ty_Bool)
new_ltEs20(x0, x1, ty_Char)
new_lt11(x0, x1, app(ty_[], x2))
new_esEs21(Just(x0), Just(x1), ty_Bool)
new_compare111(x0, x1, x2, x3, x4, x5, True, x6, x7, x8, x9)
new_esEs11(x0, x1, ty_@0)
new_esEs38(x0, x1, app(app(ty_@2, x2), x3))
new_compare16(Nothing, Just(x0), x1)
new_esEs11(x0, x1, ty_Double)
new_esEs9(x0, x1, ty_Integer)
new_esEs33(x0, x1, app(ty_Ratio, x2))
new_esEs25(Right(x0), Right(x1), x2, ty_Float)
new_esEs13(GT, EQ)
new_esEs13(EQ, GT)
new_compare10(x0, x1, x2, x3, x4, x5, False, x6, x7, x8)
new_ltEs20(x0, x1, app(ty_[], x2))
new_ltEs16(Left(x0), Left(x1), ty_Double, x2)
new_ltEs22(x0, x1, ty_Float)
new_lt5(x0, x1, x2, x3, x4)
new_lt23(x0, x1, app(app(ty_@2, x2), x3))
new_esEs27(x0, x1, ty_Double)
new_compare31(x0, x1, app(ty_[], x2))
new_esEs9(x0, x1, app(ty_[], x2))
new_esEs40(x0, x1, ty_Int)
new_primMulNat0(Zero, Zero)
new_ltEs24(x0, x1, ty_Double)
new_esEs36(x0, x1, ty_Double)
new_esEs32(x0, x1, app(ty_Maybe, x2))
new_ltEs18(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs12(LT)
new_ltEs18(x0, x1, app(ty_Ratio, x2))
new_lt20(x0, x1, ty_Int)
new_compare17(LT, GT)
new_compare17(GT, LT)
new_esEs38(x0, x1, ty_Float)
new_esEs25(Right(x0), Right(x1), x2, ty_Bool)
new_lt11(x0, x1, ty_Double)
new_compare16(Just(x0), Just(x1), x2)
new_ltEs24(x0, x1, ty_Bool)
new_esEs30(x0, x1, app(app(ty_Either, x2), x3))
new_lt19(x0, x1, ty_Char)
new_lt22(x0, x1, ty_Bool)
new_esEs27(x0, x1, ty_Bool)
new_ltEs24(x0, x1, ty_Float)
new_ltEs19(x0, x1, ty_Integer)
new_esEs6(x0, x1, ty_Int)
new_esEs25(Right(x0), Right(x1), x2, app(app(ty_Either, x3), x4))
new_lt11(x0, x1, app(app(ty_@2, x2), x3))
new_lt20(x0, x1, ty_Char)
new_ltEs16(Right(x0), Right(x1), x2, ty_@0)
new_ltEs21(x0, x1, ty_Integer)
new_esEs30(x0, x1, ty_Bool)
new_esEs27(x0, x1, ty_Ordering)
new_ltEs21(x0, x1, ty_Float)
new_esEs40(x0, x1, app(ty_Ratio, x2))
new_lt20(x0, x1, ty_@0)
new_lt13(x0, x1)
new_esEs9(x0, x1, app(ty_Maybe, x2))
new_compare31(x0, x1, app(app(ty_@2, x2), x3))
new_esEs38(x0, x1, ty_Ordering)
new_esEs39(x0, x1, ty_Ordering)
new_primCmpNat0(Succ(x0), Zero)
new_primMulNat0(Succ(x0), Zero)
new_esEs21(Just(x0), Just(x1), ty_Double)
new_lt12(x0, x1, x2)
new_esEs37(x0, x1, ty_Char)
new_lt20(x0, x1, ty_Bool)
new_lt21(x0, x1, app(ty_[], x2))
new_lt21(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs5(x0, x1, app(ty_Ratio, x2))
new_ltEs16(Left(x0), Left(x1), ty_Char, x2)
new_esEs9(x0, x1, ty_Char)
new_esEs27(x0, x1, app(app(ty_Either, x2), x3))
new_compare18(x0, x1, False, x2)
new_esEs4(x0, x1, ty_Float)
new_sr0(Integer(x0), Integer(x1))
new_ltEs17(@2(x0, x1), @2(x2, x3), x4, x5)
new_ltEs21(x0, x1, app(app(ty_Either, x2), x3))
new_esEs37(x0, x1, ty_Float)
new_esEs35(x0, x1, ty_Double)
new_ltEs21(x0, x1, ty_Bool)
new_compare15(:%(x0, x1), :%(x2, x3), ty_Int)
new_esEs30(x0, x1, ty_Ordering)
new_compare110(x0, x1, False, x2, x3)
new_esEs13(EQ, EQ)
new_ltEs21(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs23(x0, x1, app(ty_Maybe, x2))
new_ltEs21(x0, x1, ty_@0)
new_esEs36(x0, x1, ty_Ordering)
new_esEs39(x0, x1, app(app(ty_@2, x2), x3))
new_esEs37(x0, x1, app(ty_[], x2))
new_esEs30(x0, x1, app(app(ty_@2, x2), x3))
new_primMulInt(Neg(x0), Pos(x1))
new_primMulInt(Pos(x0), Neg(x1))
new_ltEs16(Left(x0), Left(x1), app(ty_Ratio, x2), x3)
new_lt11(x0, x1, ty_Integer)
new_compare210(x0, x1, x2, x3, False, x4, x5)
new_esEs25(Right(x0), Right(x1), x2, ty_@0)
new_compare17(EQ, GT)
new_compare17(GT, EQ)
new_esEs39(x0, x1, ty_Integer)
new_esEs33(x0, x1, ty_Integer)
new_sr(x0, x1)
new_esEs7(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs19(x0, x1, ty_Bool)
new_primCmpNat0(Succ(x0), Succ(x1))
new_lt4(x0, x1, x2, x3)
new_esEs7(x0, x1, app(app(ty_@2, x2), x3))
new_esEs31(x0, x1, ty_Int)
new_esEs6(x0, x1, app(ty_Maybe, x2))
new_esEs25(Left(x0), Left(x1), ty_Double, x2)
new_ltEs18(x0, x1, ty_Char)
new_lt11(x0, x1, ty_Char)
new_esEs8(x0, x1, ty_Ordering)
new_esEs8(x0, x1, app(ty_Ratio, x2))
new_esEs4(x0, x1, ty_Double)
new_esEs6(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs30(x0, x1, ty_@0)
new_lt19(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs8(Just(x0), Just(x1), ty_Integer)
new_lt23(x0, x1, app(ty_Ratio, x2))
new_esEs35(x0, x1, app(ty_Maybe, x2))
new_esEs34(x0, x1, ty_@0)
new_esEs32(x0, x1, ty_Integer)
new_compare7(x0, x1)
new_primEqNat0(Zero, Succ(x0))
new_esEs7(x0, x1, ty_Int)
new_esEs4(x0, x1, app(app(ty_Either, x2), x3))
new_esEs27(x0, x1, app(ty_Ratio, x2))
new_compare31(x0, x1, ty_Int)
new_compare9(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)
new_lt22(x0, x1, ty_Integer)
new_ltEs23(x0, x1, ty_Char)
new_ltEs20(x0, x1, ty_Float)
new_esEs27(x0, x1, ty_Float)
new_ltEs21(x0, x1, app(app(ty_@2, x2), x3))
new_compare([], [], x0)
new_ltEs22(x0, x1, ty_Char)
new_esEs21(Just(x0), Just(x1), app(ty_[], x2))
new_esEs36(x0, x1, app(ty_Ratio, x2))
new_ltEs23(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs30(x0, x1, ty_Float)
new_lt20(x0, x1, app(ty_Maybe, x2))
new_esEs19(@2(x0, x1), @2(x2, x3), x4, x5)
new_ltEs8(Nothing, Nothing, x0)
new_lt11(x0, x1, ty_Ordering)
new_esEs36(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primEqInt(Pos(Succ(x0)), Pos(Succ(x1)))
new_esEs32(x0, x1, ty_Bool)
new_ltEs16(Left(x0), Left(x1), app(app(ty_@2, x2), x3), x4)
new_primPlusNat0(Zero, Zero)
new_esEs10(x0, x1, ty_Int)
new_esEs32(x0, x1, ty_Float)
new_ltEs10(False, False)
new_esEs9(x0, x1, ty_@0)
new_esEs9(x0, x1, app(ty_Ratio, x2))
new_esEs5(x0, x1, ty_Integer)
new_ltEs16(Right(x0), Right(x1), x2, app(app(app(ty_@3, x3), x4), x5))
new_esEs34(x0, x1, ty_Integer)
new_asAs(True, x0)
new_esEs36(x0, x1, app(ty_[], x2))
new_ltEs8(Just(x0), Just(x1), ty_Bool)
new_ltEs22(x0, x1, app(app(ty_Either, x2), x3))
new_esEs32(x0, x1, ty_Ordering)
new_ltEs20(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs5(x0, x1, app(app(ty_Either, x2), x3))
new_esEs34(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs31(x0, x1, ty_Ordering)
new_ltEs19(x0, x1, app(ty_[], x2))
new_primCmpInt(Neg(Zero), Neg(Zero))
new_esEs27(x0, x1, app(ty_Maybe, x2))
new_esEs8(x0, x1, ty_@0)
new_pePe(False, x0)
new_ltEs16(Left(x0), Left(x1), ty_Bool, x2)
new_ltEs24(x0, x1, app(app(ty_Either, x2), x3))
new_esEs9(x0, x1, ty_Ordering)
new_lt14(x0, x1)
new_lt23(x0, x1, app(app(ty_Either, x2), x3))
new_esEs27(x0, x1, ty_Char)
new_ltEs22(x0, x1, app(app(ty_@2, x2), x3))
new_esEs32(x0, x1, ty_@0)
new_esEs17(:%(x0, x1), :%(x2, x3), x4)
new_compare15(:%(x0, x1), :%(x2, x3), ty_Integer)
new_ltEs16(Right(x0), Right(x1), x2, ty_Integer)
new_ltEs16(Right(x0), Right(x1), x2, ty_Double)
new_esEs5(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs19(x0, x1, ty_Double)
new_ltEs22(x0, x1, ty_Ordering)
new_ltEs16(Right(x0), Right(x1), x2, ty_Char)
new_ltEs24(x0, x1, ty_@0)
new_esEs40(x0, x1, ty_Bool)
new_primCompAux00(x0, EQ)
new_esEs14([], [], x0)
new_ltEs19(x0, x1, ty_Ordering)
new_esEs39(x0, x1, ty_Bool)
new_esEs36(x0, x1, ty_Int)
new_ltEs19(x0, x1, ty_Float)
new_esEs33(x0, x1, ty_@0)
new_ltEs16(Left(x0), Left(x1), ty_@0, x2)
new_lt23(x0, x1, ty_Int)
new_compare31(x0, x1, ty_Ordering)
new_esEs31(x0, x1, ty_Bool)
new_lt19(x0, x1, ty_@0)
new_lt23(x0, x1, ty_Float)
new_ltEs8(Just(x0), Just(x1), ty_Double)
new_esEs10(x0, x1, ty_Char)
new_lt21(x0, x1, ty_Ordering)
new_ltEs23(x0, x1, ty_Float)
new_ltEs23(x0, x1, ty_Int)
new_primEqInt(Pos(Succ(x0)), Neg(x1))
new_primEqInt(Neg(Succ(x0)), Pos(x1))
new_compare13(x0, x1, x2, x3, True, x4, x5, x6)
new_ltEs20(x0, x1, app(ty_Ratio, x2))
new_compare18(x0, x1, True, x2)
new_lt23(x0, x1, ty_Integer)
new_compare210(x0, x1, x2, x3, True, x4, x5)
new_ltEs23(x0, x1, ty_Double)
new_esEs20(Float(x0, x1), Float(x2, x3))
new_compare31(x0, x1, app(ty_Maybe, x2))
new_esEs40(x0, x1, ty_Double)
new_ltEs19(x0, x1, ty_@0)
new_esEs7(x0, x1, ty_Ordering)
new_esEs38(x0, x1, ty_Integer)
new_esEs30(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt21(x0, x1, app(app(ty_Either, x2), x3))
new_primCmpInt(Neg(Succ(x0)), Pos(x1))
new_primCmpInt(Pos(Succ(x0)), Neg(x1))
new_ltEs8(Just(x0), Just(x1), app(ty_Ratio, x2))
new_esEs7(x0, x1, ty_Bool)
new_primPlusNat0(Succ(x0), Zero)
new_lt23(x0, x1, ty_@0)
new_esEs37(x0, x1, ty_Integer)
new_esEs38(x0, x1, app(ty_[], x2))
new_primEqInt(Pos(Zero), Neg(Zero))
new_primEqInt(Neg(Zero), Pos(Zero))
new_lt20(x0, x1, ty_Ordering)
new_esEs40(x0, x1, app(ty_[], x2))
new_esEs32(x0, x1, app(app(ty_Either, x2), x3))
new_lt22(x0, x1, ty_Int)
new_esEs32(x0, x1, app(ty_[], x2))
new_esEs7(x0, x1, ty_@0)
new_esEs25(Left(x0), Left(x1), app(app(ty_Either, x2), x3), x4)
new_ltEs18(x0, x1, app(ty_[], x2))
new_lt20(x0, x1, app(ty_[], x2))
new_esEs21(Nothing, Just(x0), x1)
new_ltEs20(x0, x1, ty_Bool)
new_compare13(x0, x1, x2, x3, False, x4, x5, x6)
new_lt23(x0, x1, ty_Double)
new_ltEs19(x0, x1, app(ty_Ratio, x2))
new_esEs39(x0, x1, ty_Int)
new_esEs8(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs25(Left(x0), Left(x1), app(app(app(ty_@3, x2), x3), x4), x5)
new_esEs7(x0, x1, app(app(ty_Either, x2), x3))
new_compare112(x0, x1, False, x2, x3)
new_ltEs18(x0, x1, app(app(ty_@2, x2), x3))
new_esEs21(Just(x0), Just(x1), ty_Float)
new_compare31(x0, x1, ty_Bool)
new_ltEs21(x0, x1, ty_Int)
new_lt19(x0, x1, ty_Int)
new_esEs28(x0, x1, ty_Int)
new_esEs29(x0, x1, ty_Int)
new_lt22(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs35(x0, x1, app(app(ty_Either, x2), x3))
new_esEs36(x0, x1, ty_@0)
new_esEs10(x0, x1, ty_Double)
new_primCmpInt(Pos(Zero), Pos(Zero))
new_esEs15(True, False)
new_esEs15(False, True)
new_lt21(x0, x1, ty_Float)
new_esEs14(:(x0, x1), [], x2)
new_lt21(x0, x1, ty_Double)
new_esEs5(x0, x1, app(app(ty_@2, x2), x3))
new_esEs24(x0, x1)
new_lt20(x0, x1, app(app(ty_Either, x2), x3))
new_primEqInt(Neg(Zero), Neg(Zero))
new_ltEs6(x0, x1)
new_esEs27(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs31(x0, x1, app(ty_Ratio, x2))
new_ltEs23(x0, x1, app(ty_[], x2))
new_esEs10(x0, x1, ty_Ordering)
new_ltEs22(x0, x1, ty_Double)
new_ltEs19(x0, x1, app(app(ty_@2, x2), x3))
new_esEs5(x0, x1, ty_Double)
new_esEs40(x0, x1, ty_Float)
new_compare26(x0, x1, x2, x3, x4, x5, False, x6, x7, x8)
new_esEs34(x0, x1, ty_Char)
new_esEs37(x0, x1, ty_Bool)
new_lt23(x0, x1, ty_Bool)
new_compare25(x0, x1, False, x2)
new_lt20(x0, x1, app(ty_Ratio, x2))
new_esEs11(x0, x1, app(app(ty_@2, x2), x3))
new_esEs8(x0, x1, ty_Integer)
new_lt15(x0, x1)
new_esEs30(x0, x1, ty_Char)
new_compare31(x0, x1, app(ty_Ratio, x2))
new_esEs6(x0, x1, ty_Char)
new_esEs11(x0, x1, app(ty_Maybe, x2))
new_esEs31(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_compare10(x0, x1, x2, x3, x4, x5, True, x6, x7, x8)
new_compare5(@2(x0, x1), @2(x2, x3), x4, x5)
new_esEs25(Right(x0), Right(x1), x2, app(app(app(ty_@3, x3), x4), x5))
new_lt23(x0, x1, ty_Char)
new_primCmpNat0(Zero, Succ(x0))
new_esEs9(x0, x1, ty_Double)
new_ltEs18(x0, x1, ty_Double)
new_ltEs9(x0, x1, x2)
new_esEs36(x0, x1, app(app(ty_@2, x2), x3))
new_esEs38(x0, x1, app(ty_Maybe, x2))
new_ltEs24(x0, x1, ty_Char)
new_ltEs19(x0, x1, ty_Int)
new_esEs25(Left(x0), Left(x1), app(ty_[], x2), x3)
new_esEs37(x0, x1, ty_@0)
new_esEs8(x0, x1, app(ty_[], x2))
new_esEs31(x0, x1, ty_@0)
new_compare31(x0, x1, ty_Float)
new_asAs(False, x0)
new_esEs10(x0, x1, ty_Float)
new_fsEs(x0)
new_compare28(x0, x1, True, x2, x3)
new_esEs4(x0, x1, app(ty_Ratio, x2))
new_compare30(True, False)
new_compare30(False, True)
new_esEs33(x0, x1, app(ty_[], x2))
new_primEqInt(Neg(Succ(x0)), Neg(Succ(x1)))
new_ltEs16(Right(x0), Right(x1), x2, app(app(ty_Either, x3), x4))
new_esEs5(x0, x1, app(ty_[], x2))
new_ltEs16(Left(x0), Left(x1), ty_Int, x2)
new_esEs11(x0, x1, ty_Char)
new_esEs8(x0, x1, ty_Char)
new_lt17(x0, x1)
new_esEs21(Just(x0), Just(x1), ty_Int)
new_ltEs5(LT, GT)
new_ltEs5(GT, LT)
new_esEs35(x0, x1, ty_Float)
new_compare29(x0, x1, False, x2, x3)
new_esEs40(x0, x1, ty_Integer)
new_esEs27(x0, x1, ty_@0)
new_ltEs16(Left(x0), Left(x1), ty_Float, x2)
new_ltEs21(x0, x1, app(ty_[], x2))
new_esEs11(x0, x1, app(ty_[], x2))
new_esEs25(Left(x0), Left(x1), app(ty_Maybe, x2), x3)
new_primCmpNat0(Zero, Zero)
new_esEs39(x0, x1, app(ty_[], x2))
new_esEs34(x0, x1, app(ty_Ratio, x2))
new_compare27(Left(x0), Left(x1), x2, x3)
new_ltEs24(x0, x1, app(ty_Ratio, x2))
new_esEs5(x0, x1, app(ty_Maybe, x2))
new_ltEs16(Right(x0), Right(x1), x2, ty_Ordering)
new_lt23(x0, x1, app(ty_Maybe, x2))
new_esEs10(x0, x1, app(app(ty_Either, x2), x3))
new_esEs37(x0, x1, ty_Double)
new_ltEs12(x0, x1)
new_esEs7(x0, x1, ty_Double)
new_esEs25(Right(x0), Right(x1), x2, ty_Integer)
new_esEs33(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs9(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs11(x0, x1)
new_esEs36(x0, x1, app(ty_Maybe, x2))
new_esEs14([], :(x0, x1), x2)
new_lt21(x0, x1, ty_@0)
new_esEs39(x0, x1, app(app(ty_Either, x2), x3))
new_lt21(x0, x1, ty_Char)
new_ltEs8(Just(x0), Just(x1), ty_Float)
new_primEqInt(Neg(Zero), Neg(Succ(x0)))
new_esEs31(x0, x1, ty_Integer)
new_esEs32(x0, x1, app(app(ty_@2, x2), x3))
new_esEs6(x0, x1, ty_@0)
new_ltEs10(True, True)
new_ltEs22(x0, x1, ty_Bool)
new_esEs25(Right(x0), Right(x1), x2, ty_Double)
new_lt19(x0, x1, app(ty_Maybe, x2))
new_compare17(LT, EQ)
new_compare17(EQ, LT)
new_esEs37(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs20(x0, x1, ty_@0)
new_primEqInt(Neg(Zero), Pos(Succ(x0)))
new_primEqInt(Pos(Zero), Neg(Succ(x0)))
new_lt10(x0, x1)
new_esEs7(x0, x1, app(ty_Ratio, x2))
new_lt21(x0, x1, ty_Bool)
new_esEs32(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs16(Right(x0), Right(x1), x2, ty_Int)
new_ltEs19(x0, x1, app(ty_Maybe, x2))
new_esEs36(x0, x1, ty_Char)
new_lt23(x0, x1, ty_Ordering)
new_esEs13(LT, LT)
new_esEs38(x0, x1, ty_Int)
new_primEqNat0(Succ(x0), Succ(x1))
new_esEs38(x0, x1, ty_Bool)
new_esEs21(Just(x0), Just(x1), ty_Integer)
new_ltEs5(GT, GT)
new_esEs7(x0, x1, ty_Float)
new_esEs31(x0, x1, app(app(ty_@2, x2), x3))
new_esEs14(:(x0, x1), :(x2, x3), x4)
new_ltEs18(x0, x1, ty_Ordering)
new_ltEs18(x0, x1, app(app(ty_Either, x2), x3))
new_lt6(x0, x1)
new_compare12(Double(x0, x1), Double(x2, x3))
new_ltEs20(x0, x1, ty_Double)
new_esEs23(Char(x0), Char(x1))
new_primEqInt(Pos(Succ(x0)), Pos(Zero))
new_lt18(x0, x1, x2, x3)
new_esEs10(x0, x1, app(ty_Ratio, x2))
new_esEs5(x0, x1, ty_Bool)
new_compare27(Right(x0), Right(x1), x2, x3)
new_lt21(x0, x1, ty_Integer)
new_esEs34(x0, x1, app(ty_Maybe, x2))
new_esEs33(x0, x1, ty_Char)
new_esEs6(x0, x1, ty_Ordering)
new_ltEs23(x0, x1, app(app(ty_@2, x2), x3))
new_esEs36(x0, x1, ty_Integer)
new_esEs29(x0, x1, ty_Integer)
new_esEs31(x0, x1, ty_Char)
new_ltEs21(x0, x1, app(ty_Ratio, x2))
new_ltEs16(Left(x0), Left(x1), app(ty_[], x2), x3)
new_esEs11(x0, x1, app(app(ty_Either, x2), x3))
new_compare31(x0, x1, ty_@0)
new_esEs31(x0, x1, app(app(ty_Either, x2), x3))
new_esEs4(x0, x1, app(app(ty_@2, x2), x3))
new_compare29(x0, x1, True, x2, x3)
new_esEs21(Just(x0), Just(x1), app(app(ty_@2, x2), x3))
new_primPlusNat0(Succ(x0), Succ(x1))
new_ltEs23(x0, x1, app(ty_Ratio, x2))
new_esEs33(x0, x1, ty_Ordering)
new_esEs26(Integer(x0), Integer(x1))
new_not(True)
new_esEs31(x0, x1, ty_Float)
new_lt22(x0, x1, ty_@0)
new_ltEs21(x0, x1, ty_Ordering)
new_primCmpInt(Neg(Zero), Neg(Succ(x0)))
new_ltEs21(x0, x1, app(ty_Maybe, x2))
new_compare31(x0, x1, app(app(ty_Either, x2), x3))
new_esEs34(x0, x1, app(app(ty_Either, x2), x3))
new_lt20(x0, x1, ty_Integer)
new_esEs21(Nothing, Nothing, x0)
new_esEs5(x0, x1, ty_Ordering)
new_esEs30(x0, x1, app(ty_[], x2))
new_esEs13(LT, EQ)
new_esEs13(EQ, LT)
new_esEs33(x0, x1, app(ty_Maybe, x2))
new_ltEs19(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt20(x0, x1, app(app(ty_@2, x2), x3))
new_esEs8(x0, x1, ty_Double)
new_esEs6(x0, x1, ty_Float)
new_primCmpInt(Pos(Zero), Neg(Zero))
new_primCmpInt(Neg(Zero), Pos(Zero))
new_ltEs18(x0, x1, ty_Float)
new_esEs10(x0, x1, app(app(ty_@2, x2), x3))
new_not(False)
new_esEs10(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_compare(:(x0, x1), :(x2, x3), x4)
new_ltEs24(x0, x1, app(ty_Maybe, x2))
new_ltEs16(Right(x0), Right(x1), x2, app(ty_Ratio, x3))
new_ltEs22(x0, x1, app(ty_Maybe, x2))
new_esEs36(x0, x1, app(app(ty_Either, x2), x3))
new_lt20(x0, x1, ty_Float)
new_lt19(x0, x1, ty_Double)
new_esEs40(x0, x1, app(ty_Maybe, x2))
new_ltEs22(x0, x1, app(ty_Ratio, x2))
new_ltEs24(x0, x1, app(app(ty_@2, x2), x3))
new_esEs5(x0, x1, ty_Float)
new_compare6(Float(x0, x1), Float(x2, x3))
new_compare17(LT, LT)
new_esEs21(Just(x0), Just(x1), ty_Ordering)
new_esEs5(x0, x1, ty_@0)
new_esEs27(x0, x1, app(app(ty_@2, x2), x3))
new_esEs25(Left(x0), Left(x1), ty_Int, x2)
new_lt8(x0, x1, x2)
new_esEs12(EQ)
new_ltEs5(EQ, EQ)
new_esEs39(x0, x1, ty_Double)
new_esEs34(x0, x1, app(ty_[], x2))
new_ltEs23(x0, x1, ty_@0)
new_esEs30(x0, x1, ty_Int)
new_compare(:(x0, x1), [], x2)
new_lt9(x0, x1, x2)
new_esEs11(x0, x1, app(ty_Ratio, x2))
new_esEs10(x0, x1, ty_Integer)
new_esEs9(x0, x1, ty_Float)
new_esEs7(x0, x1, app(ty_[], x2))
new_ltEs8(Just(x0), Just(x1), ty_Ordering)
new_ltEs18(x0, x1, ty_@0)
new_ltEs24(x0, x1, ty_Integer)
new_compare30(True, True)
new_lt19(x0, x1, ty_Float)
new_esEs35(x0, x1, ty_Char)
new_esEs8(x0, x1, app(app(ty_Either, x2), x3))
new_esEs5(x0, x1, ty_Int)
new_esEs35(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs18(x0, x1, app(ty_Maybe, x2))
new_ltEs8(Just(x0), Just(x1), app(app(ty_Either, x2), x3))
new_ltEs23(x0, x1, ty_Ordering)
new_compare27(Right(x0), Left(x1), x2, x3)
new_esEs37(x0, x1, app(ty_Maybe, x2))
new_compare27(Left(x0), Right(x1), x2, x3)
new_primMulNat0(Succ(x0), Succ(x1))
new_esEs9(x0, x1, ty_Int)
new_compare31(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs22(x0, x1, ty_Integer)
new_esEs34(x0, x1, ty_Ordering)
new_primEqNat0(Succ(x0), Zero)
new_esEs6(x0, x1, app(app(ty_Either, x2), x3))
new_esEs7(x0, x1, app(ty_Maybe, x2))
new_esEs4(x0, x1, ty_Ordering)
new_esEs37(x0, x1, app(app(ty_@2, x2), x3))
new_esEs35(x0, x1, ty_Ordering)
new_ltEs24(x0, x1, app(ty_[], x2))
new_lt7(x0, x1)
new_lt11(x0, x1, app(ty_Maybe, x2))
new_ltEs8(Just(x0), Nothing, x1)
new_esEs11(x0, x1, ty_Bool)
new_esEs21(Just(x0), Just(x1), app(app(app(ty_@3, x2), x3), x4))
new_esEs32(x0, x1, app(ty_Ratio, x2))
new_lt22(x0, x1, ty_Char)
new_esEs25(Right(x0), Right(x1), x2, ty_Char)
new_esEs6(x0, x1, ty_Bool)
new_esEs34(x0, x1, ty_Int)
new_esEs10(x0, x1, app(ty_[], x2))
new_esEs25(Right(x0), Right(x1), x2, app(app(ty_@2, x3), x4))
new_ltEs10(True, False)
new_ltEs10(False, True)
new_esEs30(x0, x1, ty_Double)
new_compare111(x0, x1, x2, x3, x4, x5, False, x6, x7, x8, x9)
new_ltEs8(Just(x0), Just(x1), app(ty_Maybe, x2))
new_esEs38(x0, x1, ty_Char)
new_esEs33(x0, x1, ty_Int)
new_ltEs7(x0, x1, x2)
new_primCompAux00(x0, LT)
new_esEs11(x0, x1, ty_Float)
new_compare14(x0, x1, x2, x3, True, x4, x5)
new_ltEs16(Left(x0), Left(x1), ty_Integer, x2)
new_esEs27(x0, x1, ty_Integer)
new_esEs33(x0, x1, app(app(ty_@2, x2), x3))
new_esEs40(x0, x1, ty_@0)
new_esEs34(x0, x1, ty_Bool)
new_esEs25(Left(x0), Left(x1), app(ty_Ratio, x2), x3)
new_ltEs18(x0, x1, ty_Integer)
new_esEs32(x0, x1, ty_Int)
new_esEs12(GT)
new_ltEs14(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)
new_esEs10(x0, x1, app(ty_Maybe, x2))
new_compare19(Char(x0), Char(x1))
new_ltEs22(x0, x1, ty_Int)
new_esEs37(x0, x1, app(ty_Ratio, x2))
new_esEs39(x0, x1, ty_Float)
new_primEqInt(Pos(Zero), Pos(Zero))
new_esEs25(Left(x0), Left(x1), ty_Ordering, x2)
new_lt11(x0, x1, app(app(ty_Either, x2), x3))
new_esEs6(x0, x1, ty_Integer)
new_esEs31(x0, x1, ty_Double)
new_ltEs19(x0, x1, app(app(ty_Either, x2), x3))
new_compare31(x0, x1, ty_Double)
new_esEs4(x0, x1, ty_Char)
new_lt19(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primCmpInt(Pos(Zero), Neg(Succ(x0)))
new_primCmpInt(Neg(Zero), Pos(Succ(x0)))
new_lt23(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs5(x0, x1, ty_Char)
new_esEs33(x0, x1, ty_Bool)
new_esEs7(x0, x1, ty_Char)
new_esEs40(x0, x1, ty_Ordering)
new_esEs37(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primCmpInt(Pos(Zero), Pos(Succ(x0)))
new_esEs39(x0, x1, app(ty_Maybe, x2))
new_esEs25(Left(x0), Left(x1), ty_Char, x2)
new_lt11(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs38(x0, x1, app(app(ty_Either, x2), x3))
new_esEs8(x0, x1, ty_Bool)
new_esEs28(x0, x1, ty_Integer)
new_esEs30(x0, x1, app(ty_Ratio, x2))
new_lt20(x0, x1, ty_Double)
new_esEs8(x0, x1, app(app(ty_@2, x2), x3))
new_esEs37(x0, x1, ty_Ordering)
new_esEs8(x0, x1, ty_Int)
new_esEs25(Right(x0), Right(x1), x2, ty_Int)
new_ltEs24(x0, x1, ty_Ordering)
new_esEs10(x0, x1, ty_Bool)
new_esEs39(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primCmpInt(Pos(Succ(x0)), Pos(x1))
new_esEs9(x0, x1, ty_Bool)
new_lt22(x0, x1, ty_Float)
new_esEs4(x0, x1, ty_Bool)
new_esEs6(x0, x1, app(ty_Ratio, x2))
new_ltEs5(LT, LT)
new_primCompAux00(x0, GT)
new_esEs4(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs6(x0, x1, app(ty_[], x2))
new_ltEs23(x0, x1, ty_Bool)
new_esEs34(x0, x1, app(app(ty_@2, x2), x3))
new_esEs18(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)

We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
QDP
                                    ↳ QDPSizeChangeProof
                                  ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

new_addToFM_C2(xuu14, xuu15, xuu16, xuu17, xuu18, xuu19, xuu20, False, h, ba) → new_addToFM_C1(xuu14, xuu15, xuu16, xuu17, xuu18, xuu19, xuu20, new_gt(xuu19, xuu14, h), h, ba)
new_addToFM_C1(xuu31, xuu32, xuu33, xuu34, xuu35, xuu36, xuu37, True, bb, bc) → new_addToFM_C(xuu35, xuu36, xuu37, bb, bc)
new_addToFM_C2(xuu14, xuu15, xuu16, xuu17, xuu18, xuu19, xuu20, True, h, ba) → new_addToFM_C(xuu17, xuu19, xuu20, h, ba)
new_addToFM_C(Branch(xuu30, xuu31, xuu32, xuu33, xuu34), xuu400, xuu401, bd, be) → new_addToFM_C2(xuu30, xuu31, xuu32, xuu33, xuu34, xuu400, xuu401, new_lt24(xuu400, xuu30, bd), bd, be)

The TRS R consists of the following rules:

new_esEs38(xuu40002, xuu3002, app(ty_[], fff)) → new_esEs14(xuu40002, xuu3002, fff)
new_esEs7(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_esEs8(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_esEs9(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_compare9(@3(xuu4000, xuu4001, xuu4002), @3(xuu300, xuu301, xuu302), cc, cd, ce) → new_compare26(xuu4000, xuu4001, xuu4002, xuu300, xuu301, xuu302, new_asAs(new_esEs7(xuu4000, xuu300, cc), new_asAs(new_esEs6(xuu4001, xuu301, cd), new_esEs5(xuu4002, xuu302, ce))), cc, cd, ce)
new_lt24(xuu400, xuu30, app(ty_Maybe, cg)) → new_lt9(xuu400, xuu30, cg)
new_esEs31(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_esEs7(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_lt9(xuu400, xuu30, cg) → new_esEs12(new_compare16(xuu400, xuu30, cg))
new_ltEs21(xuu77, xuu78, app(ty_[], dfb)) → new_ltEs9(xuu77, xuu78, dfb)
new_compare110(xuu165, xuu166, True, dae, daf) → LT
new_gt(xuu19, xuu14, ty_@0) → new_esEs41(new_compare8(xuu19, xuu14))
new_ltEs8(Just(xuu550), Just(xuu560), app(app(ty_Either, ee), ef)) → new_ltEs16(xuu550, xuu560, ee, ef)
new_ltEs16(Right(xuu550), Right(xuu560), fh, ty_Float) → new_ltEs6(xuu550, xuu560)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_compare14(xuu195, xuu196, xuu197, xuu198, False, dd, de) → GT
new_esEs5(xuu4002, xuu302, app(ty_[], gd)) → new_esEs14(xuu4002, xuu302, gd)
new_lt21(xuu121, xuu123, ty_@0) → new_lt16(xuu121, xuu123)
new_esEs32(xuu109, xuu112, ty_Integer) → new_esEs26(xuu109, xuu112)
new_esEs11(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_lt13(xuu400, xuu30) → new_esEs12(new_compare30(xuu400, xuu30))
new_esEs32(xuu109, xuu112, app(app(ty_Either, dbg), dbh)) → new_esEs25(xuu109, xuu112, dbg, dbh)
new_compare26(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, True, dag, dah, dba) → EQ
new_esEs30(xuu40001, xuu3001, app(ty_[], bfa)) → new_esEs14(xuu40001, xuu3001, bfa)
new_lt21(xuu121, xuu123, ty_Ordering) → new_lt10(xuu121, xuu123)
new_ltEs23(xuu122, xuu124, app(app(app(ty_@3, eeb), eec), eed)) → new_ltEs14(xuu122, xuu124, eeb, eec, eed)
new_compare(:(xuu4000, xuu4001), [], cf) → GT
new_esEs40(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs7(xuu4000, xuu300, app(app(ty_Either, bbh), bca)) → new_esEs25(xuu4000, xuu300, bbh, bca)
new_esEs11(xuu4000, xuu300, app(ty_Ratio, ece)) → new_esEs17(xuu4000, xuu300, ece)
new_ltEs24(xuu552, xuu562, app(ty_Ratio, fdh)) → new_ltEs7(xuu552, xuu562, fdh)
new_compare30(False, True) → LT
new_lt14(xuu400, xuu30) → new_esEs12(new_compare19(xuu400, xuu30))
new_lt23(xuu551, xuu561, ty_Ordering) → new_lt10(xuu551, xuu561)
new_lt19(xuu109, xuu112, app(ty_Maybe, dbc)) → new_lt9(xuu109, xuu112, dbc)
new_lt23(xuu551, xuu561, ty_Bool) → new_lt13(xuu551, xuu561)
new_esEs35(xuu40000, xuu3000, app(app(ty_@2, ehh), faa)) → new_esEs19(xuu40000, xuu3000, ehh, faa)
new_ltEs20(xuu110, xuu113, app(ty_Maybe, dce)) → new_ltEs8(xuu110, xuu113, dce)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Double) → new_esEs16(xuu40000, xuu3000)
new_esEs33(xuu108, xuu111, app(app(app(ty_@3, ddh), dea), deb)) → new_esEs18(xuu108, xuu111, ddh, dea, deb)
new_esEs32(xuu109, xuu112, ty_Float) → new_esEs20(xuu109, xuu112)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Integer, bhe) → new_esEs26(xuu40000, xuu3000)
new_lt21(xuu121, xuu123, ty_Float) → new_lt7(xuu121, xuu123)
new_esEs34(xuu121, xuu123, app(ty_Maybe, efc)) → new_esEs21(xuu121, xuu123, efc)
new_lt23(xuu551, xuu561, ty_Integer) → new_lt6(xuu551, xuu561)
new_ltEs18(xuu55, xuu56, app(ty_[], fc)) → new_ltEs9(xuu55, xuu56, fc)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Float, ga) → new_ltEs6(xuu550, xuu560)
new_esEs5(xuu4002, xuu302, app(ty_Ratio, ge)) → new_esEs17(xuu4002, xuu302, ge)
new_esEs31(xuu40000, xuu3000, app(app(ty_@2, bgh), bha)) → new_esEs19(xuu40000, xuu3000, bgh, bha)
new_lt21(xuu121, xuu123, app(ty_Ratio, ega)) → new_lt8(xuu121, xuu123, ega)
new_esEs4(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_esEs36(xuu551, xuu561, ty_Char) → new_esEs23(xuu551, xuu561)
new_esEs6(xuu4001, xuu301, ty_Int) → new_esEs24(xuu4001, xuu301)
new_lt23(xuu551, xuu561, app(ty_Ratio, fcf)) → new_lt8(xuu551, xuu561, fcf)
new_lt22(xuu550, xuu560, app(app(app(ty_@3, fag), fah), fba)) → new_lt5(xuu550, xuu560, fag, fah, fba)
new_ltEs20(xuu110, xuu113, app(ty_[], dcd)) → new_ltEs9(xuu110, xuu113, dcd)
new_esEs7(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_esEs8(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_lt22(xuu550, xuu560, app(ty_Ratio, fbd)) → new_lt8(xuu550, xuu560, fbd)
new_ltEs18(xuu55, xuu56, app(ty_Ratio, df)) → new_ltEs7(xuu55, xuu56, df)
new_ltEs5(EQ, LT) → False
new_esEs33(xuu108, xuu111, ty_Integer) → new_esEs26(xuu108, xuu111)
new_ltEs10(False, False) → True
new_pePe(False, xuu211) → xuu211
new_esEs13(EQ, LT) → False
new_esEs13(LT, EQ) → False
new_gt(xuu19, xuu14, app(ty_Maybe, chd)) → new_esEs41(new_compare16(xuu19, xuu14, chd))
new_esEs39(xuu40001, xuu3001, app(ty_Maybe, fhg)) → new_esEs21(xuu40001, xuu3001, fhg)
new_esEs15(False, True) → False
new_esEs15(True, False) → False
new_ltEs8(Just(xuu550), Just(xuu560), app(app(ty_@2, eh), fa)) → new_ltEs17(xuu550, xuu560, eh, fa)
new_lt21(xuu121, xuu123, ty_Bool) → new_lt13(xuu121, xuu123)
new_lt19(xuu109, xuu112, ty_Integer) → new_lt6(xuu109, xuu112)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Char, ga) → new_ltEs12(xuu550, xuu560)
new_lt21(xuu121, xuu123, app(app(app(ty_@3, efd), efe), eff)) → new_lt5(xuu121, xuu123, efd, efe, eff)
new_esEs6(xuu4001, xuu301, ty_Char) → new_esEs23(xuu4001, xuu301)
new_esEs30(xuu40001, xuu3001, ty_Bool) → new_esEs15(xuu40001, xuu3001)
new_esEs30(xuu40001, xuu3001, ty_@0) → new_esEs22(xuu40001, xuu3001)
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(app(ty_@3, bhh), caa), cab), bhe) → new_esEs18(xuu40000, xuu3000, bhh, caa, cab)
new_esEs34(xuu121, xuu123, app(ty_Ratio, ega)) → new_esEs17(xuu121, xuu123, ega)
new_esEs38(xuu40002, xuu3002, app(app(ty_Either, fgf), fgg)) → new_esEs25(xuu40002, xuu3002, fgf, fgg)
new_esEs31(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs6(xuu4001, xuu301, app(app(ty_@2, bac), bad)) → new_esEs19(xuu4001, xuu301, bac, bad)
new_esEs12(GT) → False
new_esEs35(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_ltEs4(xuu55, xuu56) → new_fsEs(new_compare8(xuu55, xuu56))
new_esEs7(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_ltEs18(xuu55, xuu56, ty_@0) → new_ltEs4(xuu55, xuu56)
new_compare6(Float(xuu4000, xuu4001), Float(xuu300, xuu301)) → new_compare7(new_sr(xuu4000, xuu300), new_sr(xuu4001, xuu301))
new_esEs11(xuu4000, xuu300, app(app(ty_Either, edd), ede)) → new_esEs25(xuu4000, xuu300, edd, ede)
new_esEs36(xuu551, xuu561, app(app(app(ty_@3, fca), fcb), fcc)) → new_esEs18(xuu551, xuu561, fca, fcb, fcc)
new_lt11(xuu550, xuu560, app(app(ty_Either, bcg), bch)) → new_lt18(xuu550, xuu560, bcg, bch)
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_Maybe, ffb)) → new_esEs21(xuu40000, xuu3000, ffb)
new_esEs21(Nothing, Nothing, ehb) → True
new_esEs27(xuu550, xuu560, ty_Ordering) → new_esEs13(xuu550, xuu560)
new_gt(xuu19, xuu14, ty_Double) → new_esEs41(new_compare12(xuu19, xuu14))
new_esEs11(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_pePe(True, xuu211) → True
new_primEqNat0(Zero, Zero) → True
new_ltEs16(Left(xuu550), Left(xuu560), ty_Bool, ga) → new_ltEs10(xuu550, xuu560)
new_lt22(xuu550, xuu560, app(ty_Maybe, faf)) → new_lt9(xuu550, xuu560, faf)
new_ltEs20(xuu110, xuu113, ty_Bool) → new_ltEs10(xuu110, xuu113)
new_esEs5(xuu4002, xuu302, ty_Integer) → new_esEs26(xuu4002, xuu302)
new_esEs13(LT, GT) → False
new_esEs13(GT, LT) → False
new_esEs12(EQ) → False
new_gt(xuu19, xuu14, ty_Bool) → new_esEs41(new_compare30(xuu19, xuu14))
new_lt20(xuu108, xuu111, app(ty_Ratio, dee)) → new_lt8(xuu108, xuu111, dee)
new_lt11(xuu550, xuu560, app(ty_Maybe, bcc)) → new_lt9(xuu550, xuu560, bcc)
new_esEs39(xuu40001, xuu3001, ty_Ordering) → new_esEs13(xuu40001, xuu3001)
new_esEs10(xuu4001, xuu301, ty_Int) → new_esEs24(xuu4001, xuu301)
new_compare31(xuu4000, xuu300, ty_Bool) → new_compare30(xuu4000, xuu300)
new_esEs6(xuu4001, xuu301, app(ty_[], hf)) → new_esEs14(xuu4001, xuu301, hf)
new_ltEs23(xuu122, xuu124, app(ty_Ratio, eeg)) → new_ltEs7(xuu122, xuu124, eeg)
new_esEs9(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_ltEs21(xuu77, xuu78, ty_Bool) → new_ltEs10(xuu77, xuu78)
new_compare110(xuu165, xuu166, False, dae, daf) → GT
new_lt23(xuu551, xuu561, ty_@0) → new_lt16(xuu551, xuu561)
new_esEs37(xuu550, xuu560, app(ty_Maybe, faf)) → new_esEs21(xuu550, xuu560, faf)
new_ltEs20(xuu110, xuu113, app(app(app(ty_@3, dcf), dcg), dch)) → new_ltEs14(xuu110, xuu113, dcf, dcg, dch)
new_esEs36(xuu551, xuu561, ty_Integer) → new_esEs26(xuu551, xuu561)
new_ltEs22(xuu84, xuu85, ty_Integer) → new_ltEs11(xuu84, xuu85)
new_lt11(xuu550, xuu560, app(ty_Ratio, bda)) → new_lt8(xuu550, xuu560, bda)
new_esEs7(xuu4000, xuu300, app(ty_Maybe, bbg)) → new_esEs21(xuu4000, xuu300, bbg)
new_lt24(xuu400, xuu30, ty_Char) → new_lt14(xuu400, xuu30)
new_esEs39(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_ltEs16(Right(xuu550), Right(xuu560), fh, app(ty_Maybe, cdf)) → new_ltEs8(xuu550, xuu560, cdf)
new_esEs39(xuu40001, xuu3001, app(ty_Ratio, fha)) → new_esEs17(xuu40001, xuu3001, fha)
new_ltEs5(LT, LT) → True
new_esEs25(Right(xuu40000), Right(xuu3000), cah, app(ty_[], cba)) → new_esEs14(xuu40000, xuu3000, cba)
new_esEs11(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_lt22(xuu550, xuu560, ty_Double) → new_lt17(xuu550, xuu560)
new_esEs27(xuu550, xuu560, ty_Int) → new_esEs24(xuu550, xuu560)
new_esEs27(xuu550, xuu560, app(app(app(ty_@3, bcd), bce), bcf)) → new_esEs18(xuu550, xuu560, bcd, bce, bcf)
new_esEs28(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_primEqInt(Neg(Succ(xuu400000)), Neg(Succ(xuu30000))) → new_primEqNat0(xuu400000, xuu30000)
new_ltEs20(xuu110, xuu113, ty_Integer) → new_ltEs11(xuu110, xuu113)
new_compare15(:%(xuu4000, xuu4001), :%(xuu300, xuu301), ty_Integer) → new_compare11(new_sr0(xuu4000, xuu301), new_sr0(xuu300, xuu4001))
new_ltEs22(xuu84, xuu85, app(ty_Ratio, dhe)) → new_ltEs7(xuu84, xuu85, dhe)
new_ltEs16(Right(xuu550), Right(xuu560), fh, ty_Char) → new_ltEs12(xuu550, xuu560)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_[], dh)) → new_ltEs9(xuu550, xuu560, dh)
new_ltEs22(xuu84, xuu85, app(app(ty_Either, dhc), dhd)) → new_ltEs16(xuu84, xuu85, dhc, dhd)
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_[], fec)) → new_esEs14(xuu40000, xuu3000, fec)
new_esEs14(:(xuu40000, xuu40001), :(xuu3000, xuu3001), egf) → new_asAs(new_esEs35(xuu40000, xuu3000, egf), new_esEs14(xuu40001, xuu3001, egf))
new_ltEs16(Right(xuu550), Right(xuu560), fh, ty_Ordering) → new_ltEs5(xuu550, xuu560)
new_lt19(xuu109, xuu112, ty_Char) → new_lt14(xuu109, xuu112)
new_esEs9(xuu4000, xuu300, app(ty_[], cga)) → new_esEs14(xuu4000, xuu300, cga)
new_lt22(xuu550, xuu560, app(app(ty_@2, fbe), fbf)) → new_lt4(xuu550, xuu560, fbe, fbf)
new_esEs10(xuu4001, xuu301, app(ty_Maybe, eca)) → new_esEs21(xuu4001, xuu301, eca)
new_primEqInt(Neg(Zero), Neg(Zero)) → True
new_esEs40(xuu40000, xuu3000, app(ty_Ratio, gac)) → new_esEs17(xuu40000, xuu3000, gac)
new_compare31(xuu4000, xuu300, ty_Integer) → new_compare11(xuu4000, xuu300)
new_esEs30(xuu40001, xuu3001, app(app(ty_@2, bff), bfg)) → new_esEs19(xuu40001, xuu3001, bff, bfg)
new_esEs9(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_esEs8(xuu4000, xuu300, app(app(ty_@2, cfd), cfe)) → new_esEs19(xuu4000, xuu300, cfd, cfe)
new_ltEs21(xuu77, xuu78, app(ty_Ratio, dga)) → new_ltEs7(xuu77, xuu78, dga)
new_esEs10(xuu4001, xuu301, ty_Ordering) → new_esEs13(xuu4001, xuu301)
new_lt10(xuu400, xuu30) → new_esEs12(new_compare17(xuu400, xuu30))
new_ltEs16(Right(xuu550), Right(xuu560), fh, app(app(ty_Either, ceb), cec)) → new_ltEs16(xuu550, xuu560, ceb, cec)
new_compare([], [], cf) → EQ
new_lt11(xuu550, xuu560, ty_Bool) → new_lt13(xuu550, xuu560)
new_primCmpInt(Pos(Zero), Neg(Zero)) → EQ
new_primCmpInt(Neg(Zero), Pos(Zero)) → EQ
new_lt4(xuu400, xuu30, bf, bg) → new_esEs12(new_compare5(xuu400, xuu30, bf, bg))
new_esEs35(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_compare16(Nothing, Just(xuu300), cg) → LT
new_esEs8(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_primEqInt(Pos(Succ(xuu400000)), Pos(Succ(xuu30000))) → new_primEqNat0(xuu400000, xuu30000)
new_lt20(xuu108, xuu111, app(ty_[], ddf)) → new_lt12(xuu108, xuu111, ddf)
new_esEs30(xuu40001, xuu3001, ty_Float) → new_esEs20(xuu40001, xuu3001)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, app(ty_Ratio, cbb)) → new_esEs17(xuu40000, xuu3000, cbb)
new_esEs34(xuu121, xuu123, ty_Int) → new_esEs24(xuu121, xuu123)
new_compare28(xuu77, xuu78, False, deh, dfa) → new_compare112(xuu77, xuu78, new_ltEs21(xuu77, xuu78, deh), deh, dfa)
new_lt24(xuu400, xuu30, app(ty_[], cf)) → new_lt12(xuu400, xuu30, cf)
new_primEqNat0(Succ(xuu400000), Succ(xuu30000)) → new_primEqNat0(xuu400000, xuu30000)
new_esEs33(xuu108, xuu111, app(ty_[], ddf)) → new_esEs14(xuu108, xuu111, ddf)
new_lt21(xuu121, xuu123, ty_Int) → new_lt15(xuu121, xuu123)
new_ltEs18(xuu55, xuu56, ty_Float) → new_ltEs6(xuu55, xuu56)
new_primCmpInt(Neg(Succ(xuu40000)), Neg(xuu300)) → new_primCmpNat0(xuu300, Succ(xuu40000))
new_ltEs8(Just(xuu550), Nothing, dg) → False
new_ltEs16(Left(xuu550), Left(xuu560), ty_Double, ga) → new_ltEs15(xuu550, xuu560)
new_lt21(xuu121, xuu123, app(ty_Maybe, efc)) → new_lt9(xuu121, xuu123, efc)
new_compare19(Char(xuu4000), Char(xuu300)) → new_primCmpNat0(xuu4000, xuu300)
new_esEs34(xuu121, xuu123, ty_Double) → new_esEs16(xuu121, xuu123)
new_esEs30(xuu40001, xuu3001, ty_Ordering) → new_esEs13(xuu40001, xuu3001)
new_esEs30(xuu40001, xuu3001, app(app(app(ty_@3, bfc), bfd), bfe)) → new_esEs18(xuu40001, xuu3001, bfc, bfd, bfe)
new_ltEs22(xuu84, xuu85, ty_Float) → new_ltEs6(xuu84, xuu85)
new_compare30(False, False) → EQ
new_lt24(xuu400, xuu30, ty_@0) → new_lt16(xuu400, xuu30)
new_ltEs9(xuu55, xuu56, fc) → new_fsEs(new_compare(xuu55, xuu56, fc))
new_esEs29(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_compare27(Left(xuu4000), Right(xuu300), da, db) → LT
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Float, bhe) → new_esEs20(xuu40000, xuu3000)
new_esEs5(xuu4002, xuu302, app(app(ty_Either, hd), he)) → new_esEs25(xuu4002, xuu302, hd, he)
new_ltEs23(xuu122, xuu124, ty_Integer) → new_ltEs11(xuu122, xuu124)
new_gt(xuu19, xuu14, app(app(app(ty_@3, che), chf), chg)) → new_esEs41(new_compare9(xuu19, xuu14, che, chf, chg))
new_lt22(xuu550, xuu560, ty_Bool) → new_lt13(xuu550, xuu560)
new_esEs29(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs26(Integer(xuu40000), Integer(xuu3000)) → new_primEqInt(xuu40000, xuu3000)
new_esEs7(xuu4000, xuu300, app(app(ty_@2, bbe), bbf)) → new_esEs19(xuu4000, xuu300, bbe, bbf)
new_ltEs15(xuu55, xuu56) → new_fsEs(new_compare12(xuu55, xuu56))
new_esEs36(xuu551, xuu561, ty_Ordering) → new_esEs13(xuu551, xuu561)
new_esEs32(xuu109, xuu112, app(ty_Maybe, dbc)) → new_esEs21(xuu109, xuu112, dbc)
new_lt19(xuu109, xuu112, app(app(app(ty_@3, dbd), dbe), dbf)) → new_lt5(xuu109, xuu112, dbd, dbe, dbf)
new_esEs39(xuu40001, xuu3001, ty_Float) → new_esEs20(xuu40001, xuu3001)
new_esEs37(xuu550, xuu560, ty_Double) → new_esEs16(xuu550, xuu560)
new_esEs34(xuu121, xuu123, ty_Float) → new_esEs20(xuu121, xuu123)
new_esEs8(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_esEs35(xuu40000, xuu3000, app(ty_Ratio, ehd)) → new_esEs17(xuu40000, xuu3000, ehd)
new_primEqInt(Neg(Zero), Pos(Succ(xuu30000))) → False
new_primEqInt(Pos(Zero), Neg(Succ(xuu30000))) → False
new_esEs25(Right(xuu40000), Right(xuu3000), cah, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_esEs30(xuu40001, xuu3001, app(ty_Maybe, bfh)) → new_esEs21(xuu40001, xuu3001, bfh)
new_ltEs20(xuu110, xuu113, ty_Float) → new_ltEs6(xuu110, xuu113)
new_esEs30(xuu40001, xuu3001, app(ty_Ratio, bfb)) → new_esEs17(xuu40001, xuu3001, bfb)
new_primCompAux00(xuu49, EQ) → xuu49
new_primCmpInt(Pos(Zero), Pos(Succ(xuu3000))) → new_primCmpNat0(Zero, Succ(xuu3000))
new_esEs37(xuu550, xuu560, ty_Bool) → new_esEs15(xuu550, xuu560)
new_esEs6(xuu4001, xuu301, app(ty_Maybe, bae)) → new_esEs21(xuu4001, xuu301, bae)
new_compare17(EQ, LT) → GT
new_ltEs23(xuu122, xuu124, ty_Int) → new_ltEs13(xuu122, xuu124)
new_ltEs24(xuu552, xuu562, app(ty_Maybe, fdb)) → new_ltEs8(xuu552, xuu562, fdb)
new_lt20(xuu108, xuu111, ty_Bool) → new_lt13(xuu108, xuu111)
new_ltEs20(xuu110, xuu113, ty_Int) → new_ltEs13(xuu110, xuu113)
new_esEs6(xuu4001, xuu301, ty_Double) → new_esEs16(xuu4001, xuu301)
new_ltEs16(Right(xuu550), Right(xuu560), fh, ty_@0) → new_ltEs4(xuu550, xuu560)
new_esEs25(Left(xuu40000), Right(xuu3000), cah, bhe) → False
new_esEs25(Right(xuu40000), Left(xuu3000), cah, bhe) → False
new_esEs27(xuu550, xuu560, ty_Double) → new_esEs16(xuu550, xuu560)
new_ltEs22(xuu84, xuu85, ty_Int) → new_ltEs13(xuu84, xuu85)
new_lt20(xuu108, xuu111, ty_@0) → new_lt16(xuu108, xuu111)
new_gt(xuu19, xuu14, ty_Char) → new_esEs41(new_compare19(xuu19, xuu14))
new_not(False) → True
new_esEs38(xuu40002, xuu3002, ty_Char) → new_esEs23(xuu40002, xuu3002)
new_esEs32(xuu109, xuu112, app(app(ty_@2, dcb), dcc)) → new_esEs19(xuu109, xuu112, dcb, dcc)
new_lt22(xuu550, xuu560, ty_Integer) → new_lt6(xuu550, xuu560)
new_gt0(xuu19, xuu14) → new_esEs41(new_compare7(xuu19, xuu14))
new_ltEs13(xuu55, xuu56) → new_fsEs(new_compare7(xuu55, xuu56))
new_lt19(xuu109, xuu112, ty_Int) → new_lt15(xuu109, xuu112)
new_esEs36(xuu551, xuu561, ty_Float) → new_esEs20(xuu551, xuu561)
new_ltEs23(xuu122, xuu124, app(ty_[], edh)) → new_ltEs9(xuu122, xuu124, edh)
new_ltEs16(Left(xuu550), Right(xuu560), fh, ga) → True
new_gt(xuu19, xuu14, app(app(ty_Either, chh), daa)) → new_esEs41(new_compare27(xuu19, xuu14, chh, daa))
new_lt15(xuu400, xuu30) → new_esEs12(new_compare7(xuu400, xuu30))
new_lt19(xuu109, xuu112, ty_Float) → new_lt7(xuu109, xuu112)
new_ltEs21(xuu77, xuu78, ty_Char) → new_ltEs12(xuu77, xuu78)
new_ltEs23(xuu122, xuu124, ty_Float) → new_ltEs6(xuu122, xuu124)
new_esEs11(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_esEs37(xuu550, xuu560, app(app(app(ty_@3, fag), fah), fba)) → new_esEs18(xuu550, xuu560, fag, fah, fba)
new_esEs10(xuu4001, xuu301, ty_Bool) → new_esEs15(xuu4001, xuu301)
new_esEs38(xuu40002, xuu3002, app(app(app(ty_@3, ffh), fga), fgb)) → new_esEs18(xuu40002, xuu3002, ffh, fga, fgb)
new_esEs31(xuu40000, xuu3000, app(app(app(ty_@3, bge), bgf), bgg)) → new_esEs18(xuu40000, xuu3000, bge, bgf, bgg)
new_esEs5(xuu4002, xuu302, ty_Char) → new_esEs23(xuu4002, xuu302)
new_esEs28(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_gt(xuu19, xuu14, ty_Ordering) → new_esEs41(new_compare17(xuu19, xuu14))
new_compare16(Nothing, Nothing, cg) → EQ
new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, False, bh, ca, cb) → GT
new_esEs39(xuu40001, xuu3001, app(app(app(ty_@3, fhb), fhc), fhd)) → new_esEs18(xuu40001, xuu3001, fhb, fhc, fhd)
new_esEs8(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_lt24(xuu400, xuu30, ty_Ordering) → new_lt10(xuu400, xuu30)
new_esEs30(xuu40001, xuu3001, ty_Char) → new_esEs23(xuu40001, xuu3001)
new_esEs32(xuu109, xuu112, app(app(app(ty_@3, dbd), dbe), dbf)) → new_esEs18(xuu109, xuu112, dbd, dbe, dbf)
new_esEs11(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_lt16(xuu400, xuu30) → new_esEs12(new_compare8(xuu400, xuu30))
new_ltEs19(xuu551, xuu561, app(ty_Maybe, bde)) → new_ltEs8(xuu551, xuu561, bde)
new_primMulInt(Neg(xuu40010), Neg(xuu3010)) → Pos(new_primMulNat0(xuu40010, xuu3010))
new_esEs13(GT, GT) → True
new_esEs4(xuu4000, xuu300, app(app(app(ty_@3, egg), egh), eha)) → new_esEs18(xuu4000, xuu300, egg, egh, eha)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Ordering, ga) → new_ltEs5(xuu550, xuu560)
new_primEqNat0(Zero, Succ(xuu30000)) → False
new_primEqNat0(Succ(xuu400000), Zero) → False
new_esEs7(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_ltEs19(xuu551, xuu561, app(app(app(ty_@3, bdf), bdg), bdh)) → new_ltEs14(xuu551, xuu561, bdf, bdg, bdh)
new_esEs5(xuu4002, xuu302, ty_@0) → new_esEs22(xuu4002, xuu302)
new_lt20(xuu108, xuu111, app(app(ty_Either, dec), ded)) → new_lt18(xuu108, xuu111, dec, ded)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Bool, bhe) → new_esEs15(xuu40000, xuu3000)
new_lt17(xuu400, xuu30) → new_esEs12(new_compare12(xuu400, xuu30))
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_Ratio, fed)) → new_esEs17(xuu40000, xuu3000, fed)
new_ltEs21(xuu77, xuu78, ty_Float) → new_ltEs6(xuu77, xuu78)
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(ty_Either, ffc), ffd)) → new_esEs25(xuu40000, xuu3000, ffc, ffd)
new_esEs11(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_esEs5(xuu4002, xuu302, ty_Ordering) → new_esEs13(xuu4002, xuu302)
new_esEs33(xuu108, xuu111, ty_Double) → new_esEs16(xuu108, xuu111)
new_lt21(xuu121, xuu123, ty_Integer) → new_lt6(xuu121, xuu123)
new_ltEs23(xuu122, xuu124, ty_Double) → new_ltEs15(xuu122, xuu124)
new_ltEs19(xuu551, xuu561, ty_Bool) → new_ltEs10(xuu551, xuu561)
new_esEs35(xuu40000, xuu3000, app(app(app(ty_@3, ehe), ehf), ehg)) → new_esEs18(xuu40000, xuu3000, ehe, ehf, ehg)
new_lt24(xuu400, xuu30, ty_Bool) → new_lt13(xuu400, xuu30)
new_compare17(EQ, GT) → LT
new_esEs31(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_ltEs21(xuu77, xuu78, app(ty_Maybe, dfc)) → new_ltEs8(xuu77, xuu78, dfc)
new_primCmpInt(Pos(Zero), Neg(Succ(xuu3000))) → GT
new_lt20(xuu108, xuu111, app(ty_Maybe, ddg)) → new_lt9(xuu108, xuu111, ddg)
new_compare31(xuu4000, xuu300, app(ty_[], dhh)) → new_compare(xuu4000, xuu300, dhh)
new_compare30(True, False) → GT
new_esEs5(xuu4002, xuu302, app(app(ty_@2, ha), hb)) → new_esEs19(xuu4002, xuu302, ha, hb)
new_esEs4(xuu4000, xuu300, app(ty_Ratio, bef)) → new_esEs17(xuu4000, xuu300, bef)
new_lt20(xuu108, xuu111, ty_Float) → new_lt7(xuu108, xuu111)
new_esEs9(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_esEs5(xuu4002, xuu302, ty_Int) → new_esEs24(xuu4002, xuu302)
new_ltEs19(xuu551, xuu561, ty_Integer) → new_ltEs11(xuu551, xuu561)
new_esEs33(xuu108, xuu111, app(app(ty_Either, dec), ded)) → new_esEs25(xuu108, xuu111, dec, ded)
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_Maybe, ccd), ga) → new_ltEs8(xuu550, xuu560, ccd)
new_compare14(xuu195, xuu196, xuu197, xuu198, True, dd, de) → LT
new_esEs33(xuu108, xuu111, ty_Char) → new_esEs23(xuu108, xuu111)
new_ltEs24(xuu552, xuu562, ty_Float) → new_ltEs6(xuu552, xuu562)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_Ratio, bhg), bhe) → new_esEs17(xuu40000, xuu3000, bhg)
new_esEs40(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_primCmpInt(Neg(Zero), Neg(Zero)) → EQ
new_compare13(xuu195, xuu196, xuu197, xuu198, True, xuu200, dd, de) → new_compare14(xuu195, xuu196, xuu197, xuu198, True, dd, de)
new_esEs9(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_esEs11(xuu4000, xuu300, app(ty_[], ecd)) → new_esEs14(xuu4000, xuu300, ecd)
new_compare31(xuu4000, xuu300, app(ty_Maybe, eaa)) → new_compare16(xuu4000, xuu300, eaa)
new_lt19(xuu109, xuu112, ty_Bool) → new_lt13(xuu109, xuu112)
new_ltEs6(xuu55, xuu56) → new_fsEs(new_compare6(xuu55, xuu56))
new_ltEs10(True, False) → False
new_asAs(False, xuu153) → False
new_gt(xuu19, xuu14, ty_Float) → new_esEs41(new_compare6(xuu19, xuu14))
new_compare27(Right(xuu4000), Left(xuu300), da, db) → GT
new_primMulInt(Pos(xuu40010), Neg(xuu3010)) → Neg(new_primMulNat0(xuu40010, xuu3010))
new_primMulInt(Neg(xuu40010), Pos(xuu3010)) → Neg(new_primMulNat0(xuu40010, xuu3010))
new_esEs36(xuu551, xuu561, app(ty_Maybe, fbh)) → new_esEs21(xuu551, xuu561, fbh)
new_esEs32(xuu109, xuu112, ty_Int) → new_esEs24(xuu109, xuu112)
new_esEs4(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_lt24(xuu400, xuu30, ty_Double) → new_lt17(xuu400, xuu30)
new_fsEs(xuu206) → new_not(new_esEs13(xuu206, GT))
new_esEs21(Just(xuu40000), Nothing, ehb) → False
new_esEs21(Nothing, Just(xuu3000), ehb) → False
new_esEs36(xuu551, xuu561, ty_Bool) → new_esEs15(xuu551, xuu561)
new_esEs7(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_compare31(xuu4000, xuu300, ty_Double) → new_compare12(xuu4000, xuu300)
new_compare31(xuu4000, xuu300, app(app(ty_@2, eah), eba)) → new_compare5(xuu4000, xuu300, eah, eba)
new_esEs39(xuu40001, xuu3001, app(app(ty_Either, fhh), gaa)) → new_esEs25(xuu40001, xuu3001, fhh, gaa)
new_compare11(Integer(xuu4000), Integer(xuu300)) → new_primCmpInt(xuu4000, xuu300)
new_esEs40(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_ltEs21(xuu77, xuu78, ty_Double) → new_ltEs15(xuu77, xuu78)
new_esEs36(xuu551, xuu561, app(ty_[], fbg)) → new_esEs14(xuu551, xuu561, fbg)
new_esEs6(xuu4001, xuu301, app(ty_Ratio, hg)) → new_esEs17(xuu4001, xuu301, hg)
new_ltEs24(xuu552, xuu562, app(ty_[], fda)) → new_ltEs9(xuu552, xuu562, fda)
new_esEs7(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_esEs33(xuu108, xuu111, ty_@0) → new_esEs22(xuu108, xuu111)
new_esEs18(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), egg, egh, eha) → new_asAs(new_esEs40(xuu40000, xuu3000, egg), new_asAs(new_esEs39(xuu40001, xuu3001, egh), new_esEs38(xuu40002, xuu3002, eha)))
new_compare30(True, True) → EQ
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Float) → new_esEs20(xuu40000, xuu3000)
new_ltEs23(xuu122, xuu124, ty_Char) → new_ltEs12(xuu122, xuu124)
new_ltEs18(xuu55, xuu56, app(app(ty_Either, fh), ga)) → new_ltEs16(xuu55, xuu56, fh, ga)
new_compare18(xuu144, xuu145, False, ffe) → GT
new_esEs34(xuu121, xuu123, ty_Integer) → new_esEs26(xuu121, xuu123)
new_esEs34(xuu121, xuu123, ty_Ordering) → new_esEs13(xuu121, xuu123)
new_esEs39(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_esEs37(xuu550, xuu560, app(ty_[], fae)) → new_esEs14(xuu550, xuu560, fae)
new_lt23(xuu551, xuu561, app(app(app(ty_@3, fca), fcb), fcc)) → new_lt5(xuu551, xuu561, fca, fcb, fcc)
new_lt23(xuu551, xuu561, app(app(ty_@2, fcg), fch)) → new_lt4(xuu551, xuu561, fcg, fch)
new_esEs39(xuu40001, xuu3001, ty_Char) → new_esEs23(xuu40001, xuu3001)
new_esEs41(GT) → True
new_esEs9(xuu4000, xuu300, app(ty_Maybe, cgh)) → new_esEs21(xuu4000, xuu300, cgh)
new_esEs10(xuu4001, xuu301, app(ty_Ratio, ebc)) → new_esEs17(xuu4001, xuu301, ebc)
new_esEs11(xuu4000, xuu300, app(app(ty_@2, eda), edb)) → new_esEs19(xuu4000, xuu300, eda, edb)
new_esEs4(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_esEs37(xuu550, xuu560, ty_Char) → new_esEs23(xuu550, xuu560)
new_compare25(xuu55, xuu56, False, fb) → new_compare18(xuu55, xuu56, new_ltEs18(xuu55, xuu56, fb), fb)
new_compare27(Right(xuu4000), Right(xuu300), da, db) → new_compare29(xuu4000, xuu300, new_esEs9(xuu4000, xuu300, db), da, db)
new_esEs33(xuu108, xuu111, ty_Int) → new_esEs24(xuu108, xuu111)
new_esEs40(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_lt21(xuu121, xuu123, app(app(ty_@2, egb), egc)) → new_lt4(xuu121, xuu123, egb, egc)
new_lt24(xuu400, xuu30, ty_Int) → new_lt15(xuu400, xuu30)
new_ltEs19(xuu551, xuu561, ty_Double) → new_ltEs15(xuu551, xuu561)
new_esEs17(:%(xuu40000, xuu40001), :%(xuu3000, xuu3001), bef) → new_asAs(new_esEs29(xuu40000, xuu3000, bef), new_esEs28(xuu40001, xuu3001, bef))
new_esEs31(xuu40000, xuu3000, app(ty_Ratio, bgd)) → new_esEs17(xuu40000, xuu3000, bgd)
new_esEs38(xuu40002, xuu3002, app(ty_Maybe, fge)) → new_esEs21(xuu40002, xuu3002, fge)
new_esEs30(xuu40001, xuu3001, app(app(ty_Either, bga), bgb)) → new_esEs25(xuu40001, xuu3001, bga, bgb)
new_lt18(xuu400, xuu30, da, db) → new_esEs12(new_compare27(xuu400, xuu30, da, db))
new_ltEs10(True, True) → True
new_esEs38(xuu40002, xuu3002, ty_Bool) → new_esEs15(xuu40002, xuu3002)
new_asAs(True, xuu153) → xuu153
new_esEs6(xuu4001, xuu301, ty_@0) → new_esEs22(xuu4001, xuu301)
new_compare112(xuu158, xuu159, True, egd, ege) → LT
new_ltEs19(xuu551, xuu561, app(ty_Ratio, bec)) → new_ltEs7(xuu551, xuu561, bec)
new_esEs10(xuu4001, xuu301, ty_@0) → new_esEs22(xuu4001, xuu301)
new_ltEs5(GT, GT) → True
new_esEs38(xuu40002, xuu3002, ty_Int) → new_esEs24(xuu40002, xuu3002)
new_gt(xuu19, xuu14, app(app(ty_@2, dac), dad)) → new_esEs41(new_compare5(xuu19, xuu14, dac, dad))
new_lt11(xuu550, xuu560, app(app(ty_@2, bdb), bdc)) → new_lt4(xuu550, xuu560, bdb, bdc)
new_esEs27(xuu550, xuu560, ty_Bool) → new_esEs15(xuu550, xuu560)
new_compare8(@0, @0) → EQ
new_esEs31(xuu40000, xuu3000, app(app(ty_Either, bhc), bhd)) → new_esEs25(xuu40000, xuu3000, bhc, bhd)
new_primCompAux0(xuu4000, xuu300, xuu45, cf) → new_primCompAux00(xuu45, new_compare31(xuu4000, xuu300, cf))
new_ltEs11(xuu55, xuu56) → new_fsEs(new_compare11(xuu55, xuu56))
new_ltEs16(Left(xuu550), Left(xuu560), app(app(ty_Either, cch), cda), ga) → new_ltEs16(xuu550, xuu560, cch, cda)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, app(app(ty_Either, cca), ccb)) → new_esEs25(xuu40000, xuu3000, cca, ccb)
new_esEs30(xuu40001, xuu3001, ty_Double) → new_esEs16(xuu40001, xuu3001)
new_ltEs21(xuu77, xuu78, ty_Int) → new_ltEs13(xuu77, xuu78)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_lt11(xuu550, xuu560, app(app(app(ty_@3, bcd), bce), bcf)) → new_lt5(xuu550, xuu560, bcd, bce, bcf)
new_gt(xuu19, xuu14, app(ty_Ratio, dab)) → new_esEs41(new_compare15(xuu19, xuu14, dab))
new_lt19(xuu109, xuu112, app(ty_Ratio, dca)) → new_lt8(xuu109, xuu112, dca)
new_esEs27(xuu550, xuu560, app(ty_Ratio, bda)) → new_esEs17(xuu550, xuu560, bda)
new_esEs33(xuu108, xuu111, ty_Ordering) → new_esEs13(xuu108, xuu111)
new_esEs36(xuu551, xuu561, ty_Int) → new_esEs24(xuu551, xuu561)
new_esEs36(xuu551, xuu561, ty_Double) → new_esEs16(xuu551, xuu561)
new_ltEs19(xuu551, xuu561, app(app(ty_Either, bea), beb)) → new_ltEs16(xuu551, xuu561, bea, beb)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Double) → new_ltEs15(xuu550, xuu560)
new_esEs8(xuu4000, xuu300, app(ty_Ratio, ceh)) → new_esEs17(xuu4000, xuu300, ceh)
new_lt24(xuu400, xuu30, app(app(app(ty_@3, cc), cd), ce)) → new_lt5(xuu400, xuu30, cc, cd, ce)
new_ltEs16(Right(xuu550), Right(xuu560), fh, ty_Int) → new_ltEs13(xuu550, xuu560)
new_esEs4(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_ltEs5(GT, EQ) → False
new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, bh, ca, cb) → LT
new_esEs22(@0, @0) → True
new_primEqInt(Neg(Zero), Pos(Zero)) → True
new_primEqInt(Pos(Zero), Neg(Zero)) → True
new_esEs9(xuu4000, xuu300, app(app(ty_@2, cgf), cgg)) → new_esEs19(xuu4000, xuu300, cgf, cgg)
new_esEs34(xuu121, xuu123, ty_Bool) → new_esEs15(xuu121, xuu123)
new_lt24(xuu400, xuu30, app(app(ty_@2, bf), bg)) → new_lt4(xuu400, xuu30, bf, bg)
new_ltEs18(xuu55, xuu56, app(app(app(ty_@3, fd), ff), fg)) → new_ltEs14(xuu55, xuu56, fd, ff, fg)
new_compare210(xuu121, xuu122, xuu123, xuu124, True, edf, edg) → EQ
new_not(True) → False
new_esEs27(xuu550, xuu560, ty_Integer) → new_esEs26(xuu550, xuu560)
new_esEs10(xuu4001, xuu301, app(app(app(ty_@3, ebd), ebe), ebf)) → new_esEs18(xuu4001, xuu301, ebd, ebe, ebf)
new_compare17(GT, EQ) → GT
new_ltEs8(Just(xuu550), Just(xuu560), ty_Integer) → new_ltEs11(xuu550, xuu560)
new_ltEs10(False, True) → True
new_ltEs19(xuu551, xuu561, app(ty_[], bdd)) → new_ltEs9(xuu551, xuu561, bdd)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Bool) → new_ltEs10(xuu550, xuu560)
new_esEs5(xuu4002, xuu302, ty_Double) → new_esEs16(xuu4002, xuu302)
new_compare([], :(xuu300, xuu301), cf) → LT
new_esEs11(xuu4000, xuu300, app(ty_Maybe, edc)) → new_esEs21(xuu4000, xuu300, edc)
new_ltEs22(xuu84, xuu85, ty_@0) → new_ltEs4(xuu84, xuu85)
new_ltEs24(xuu552, xuu562, app(app(app(ty_@3, fdc), fdd), fde)) → new_ltEs14(xuu552, xuu562, fdc, fdd, fde)
new_lt19(xuu109, xuu112, app(app(ty_Either, dbg), dbh)) → new_lt18(xuu109, xuu112, dbg, dbh)
new_ltEs5(EQ, GT) → True
new_lt24(xuu400, xuu30, ty_Integer) → new_lt6(xuu400, xuu30)
new_esEs11(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_compare27(Left(xuu4000), Left(xuu300), da, db) → new_compare28(xuu4000, xuu300, new_esEs8(xuu4000, xuu300, da), da, db)
new_compare17(EQ, EQ) → EQ
new_esEs9(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_esEs31(xuu40000, xuu3000, app(ty_[], bgc)) → new_esEs14(xuu40000, xuu3000, bgc)
new_compare31(xuu4000, xuu300, app(app(app(ty_@3, eab), eac), ead)) → new_compare9(xuu4000, xuu300, eab, eac, ead)
new_ltEs20(xuu110, xuu113, app(app(ty_Either, dda), ddb)) → new_ltEs16(xuu110, xuu113, dda, ddb)
new_primMulNat0(Zero, Zero) → Zero
new_esEs36(xuu551, xuu561, app(app(ty_@2, fcg), fch)) → new_esEs19(xuu551, xuu561, fcg, fch)
new_esEs4(xuu4000, xuu300, app(ty_Maybe, ehb)) → new_esEs21(xuu4000, xuu300, ehb)
new_compare25(xuu55, xuu56, True, fb) → EQ
new_esEs6(xuu4001, xuu301, ty_Ordering) → new_esEs13(xuu4001, xuu301)
new_esEs8(xuu4000, xuu300, app(ty_[], ceg)) → new_esEs14(xuu4000, xuu300, ceg)
new_esEs13(EQ, EQ) → True
new_lt21(xuu121, xuu123, ty_Char) → new_lt14(xuu121, xuu123)
new_esEs35(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs11(xuu4000, xuu300, app(app(app(ty_@3, ecf), ecg), ech)) → new_esEs18(xuu4000, xuu300, ecf, ecg, ech)
new_ltEs24(xuu552, xuu562, app(app(ty_@2, fea), feb)) → new_ltEs17(xuu552, xuu562, fea, feb)
new_ltEs20(xuu110, xuu113, app(app(ty_@2, ddd), dde)) → new_ltEs17(xuu110, xuu113, ddd, dde)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Double, bhe) → new_esEs16(xuu40000, xuu3000)
new_esEs31(xuu40000, xuu3000, app(ty_Maybe, bhb)) → new_esEs21(xuu40000, xuu3000, bhb)
new_esEs8(xuu4000, xuu300, app(app(ty_Either, cfg), cfh)) → new_esEs25(xuu4000, xuu300, cfg, cfh)
new_esEs38(xuu40002, xuu3002, ty_@0) → new_esEs22(xuu40002, xuu3002)
new_ltEs21(xuu77, xuu78, app(app(ty_@2, dgb), dgc)) → new_ltEs17(xuu77, xuu78, dgb, dgc)
new_ltEs18(xuu55, xuu56, ty_Bool) → new_ltEs10(xuu55, xuu56)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, app(app(app(ty_@3, cbc), cbd), cbe)) → new_esEs18(xuu40000, xuu3000, cbc, cbd, cbe)
new_lt24(xuu400, xuu30, ty_Float) → new_lt7(xuu400, xuu30)
new_ltEs8(Just(xuu550), Just(xuu560), ty_@0) → new_ltEs4(xuu550, xuu560)
new_esEs39(xuu40001, xuu3001, ty_Bool) → new_esEs15(xuu40001, xuu3001)
new_esEs4(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_lt23(xuu551, xuu561, app(ty_Maybe, fbh)) → new_lt9(xuu551, xuu561, fbh)
new_ltEs20(xuu110, xuu113, app(ty_Ratio, ddc)) → new_ltEs7(xuu110, xuu113, ddc)
new_esEs7(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_esEs32(xuu109, xuu112, app(ty_[], dbb)) → new_esEs14(xuu109, xuu112, dbb)
new_esEs14([], [], egf) → True
new_esEs38(xuu40002, xuu3002, ty_Integer) → new_esEs26(xuu40002, xuu3002)
new_compare31(xuu4000, xuu300, app(app(ty_Either, eae), eaf)) → new_compare27(xuu4000, xuu300, eae, eaf)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Int) → new_ltEs13(xuu550, xuu560)
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_Ratio, cdb), ga) → new_ltEs7(xuu550, xuu560, cdb)
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(ty_@2, cac), cad), bhe) → new_esEs19(xuu40000, xuu3000, cac, cad)
new_ltEs16(Right(xuu550), Right(xuu560), fh, app(app(app(ty_@3, cdg), cdh), cea)) → new_ltEs14(xuu550, xuu560, cdg, cdh, cea)
new_lt11(xuu550, xuu560, ty_Ordering) → new_lt10(xuu550, xuu560)
new_lt11(xuu550, xuu560, ty_Double) → new_lt17(xuu550, xuu560)
new_lt11(xuu550, xuu560, ty_Integer) → new_lt6(xuu550, xuu560)
new_lt22(xuu550, xuu560, app(ty_[], fae)) → new_lt12(xuu550, xuu560, fae)
new_esEs27(xuu550, xuu560, ty_Float) → new_esEs20(xuu550, xuu560)
new_esEs32(xuu109, xuu112, ty_Ordering) → new_esEs13(xuu109, xuu112)
new_esEs34(xuu121, xuu123, app(app(app(ty_@3, efd), efe), eff)) → new_esEs18(xuu121, xuu123, efd, efe, eff)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs12(LT) → True
new_lt19(xuu109, xuu112, app(ty_[], dbb)) → new_lt12(xuu109, xuu112, dbb)
new_ltEs18(xuu55, xuu56, ty_Int) → new_ltEs13(xuu55, xuu56)
new_primCmpNat0(Zero, Succ(xuu3000)) → LT
new_ltEs8(Nothing, Just(xuu560), dg) → True
new_ltEs24(xuu552, xuu562, ty_Ordering) → new_ltEs5(xuu552, xuu562)
new_esEs38(xuu40002, xuu3002, ty_Ordering) → new_esEs13(xuu40002, xuu3002)
new_ltEs22(xuu84, xuu85, ty_Ordering) → new_ltEs5(xuu84, xuu85)
new_ltEs20(xuu110, xuu113, ty_@0) → new_ltEs4(xuu110, xuu113)
new_esEs8(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_ltEs8(Just(xuu550), Just(xuu560), app(app(app(ty_@3, eb), ec), ed)) → new_ltEs14(xuu550, xuu560, eb, ec, ed)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Int, ga) → new_ltEs13(xuu550, xuu560)
new_gt(xuu19, xuu14, ty_Integer) → new_esEs41(new_compare11(xuu19, xuu14))
new_lt11(xuu550, xuu560, ty_Char) → new_lt14(xuu550, xuu560)
new_esEs37(xuu550, xuu560, app(ty_Ratio, fbd)) → new_esEs17(xuu550, xuu560, fbd)
new_ltEs19(xuu551, xuu561, ty_Int) → new_ltEs13(xuu551, xuu561)
new_compare5(@2(xuu4000, xuu4001), @2(xuu300, xuu301), bf, bg) → new_compare210(xuu4000, xuu4001, xuu300, xuu301, new_asAs(new_esEs11(xuu4000, xuu300, bf), new_esEs10(xuu4001, xuu301, bg)), bf, bg)
new_esEs32(xuu109, xuu112, ty_Char) → new_esEs23(xuu109, xuu112)
new_esEs6(xuu4001, xuu301, ty_Float) → new_esEs20(xuu4001, xuu301)
new_compare29(xuu84, xuu85, True, dgd, dge) → EQ
new_lt20(xuu108, xuu111, ty_Int) → new_lt15(xuu108, xuu111)
new_esEs27(xuu550, xuu560, app(ty_Maybe, bcc)) → new_esEs21(xuu550, xuu560, bcc)
new_esEs37(xuu550, xuu560, ty_Float) → new_esEs20(xuu550, xuu560)
new_lt23(xuu551, xuu561, ty_Float) → new_lt7(xuu551, xuu561)
new_esEs40(xuu40000, xuu3000, app(app(ty_Either, gbb), gbc)) → new_esEs25(xuu40000, xuu3000, gbb, gbc)
new_ltEs16(Left(xuu550), Left(xuu560), app(app(app(ty_@3, cce), ccf), ccg), ga) → new_ltEs14(xuu550, xuu560, cce, ccf, ccg)
new_ltEs21(xuu77, xuu78, app(app(app(ty_@3, dfd), dfe), dff)) → new_ltEs14(xuu77, xuu78, dfd, dfe, dff)
new_esEs35(xuu40000, xuu3000, app(app(ty_Either, fac), fad)) → new_esEs25(xuu40000, xuu3000, fac, fad)
new_ltEs22(xuu84, xuu85, ty_Char) → new_ltEs12(xuu84, xuu85)
new_ltEs21(xuu77, xuu78, ty_@0) → new_ltEs4(xuu77, xuu78)
new_sr(xuu4001, xuu301) → new_primMulInt(xuu4001, xuu301)
new_compare7(xuu400, xuu30) → new_primCmpInt(xuu400, xuu30)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_[], bhf), bhe) → new_esEs14(xuu40000, xuu3000, bhf)
new_lt11(xuu550, xuu560, ty_Int) → new_lt15(xuu550, xuu560)
new_esEs8(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_esEs4(xuu4000, xuu300, app(ty_[], egf)) → new_esEs14(xuu4000, xuu300, egf)
new_ltEs21(xuu77, xuu78, ty_Ordering) → new_ltEs5(xuu77, xuu78)
new_esEs9(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_lt20(xuu108, xuu111, ty_Double) → new_lt17(xuu108, xuu111)
new_lt24(xuu400, xuu30, app(app(ty_Either, da), db)) → new_lt18(xuu400, xuu30, da, db)
new_ltEs16(Right(xuu550), Right(xuu560), fh, app(ty_Ratio, ced)) → new_ltEs7(xuu550, xuu560, ced)
new_compare31(xuu4000, xuu300, ty_@0) → new_compare8(xuu4000, xuu300)
new_ltEs16(Left(xuu550), Left(xuu560), ty_@0, ga) → new_ltEs4(xuu550, xuu560)
new_ltEs24(xuu552, xuu562, ty_Integer) → new_ltEs11(xuu552, xuu562)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_ltEs19(xuu551, xuu561, app(app(ty_@2, bed), bee)) → new_ltEs17(xuu551, xuu561, bed, bee)
new_esEs8(xuu4000, xuu300, app(ty_Maybe, cff)) → new_esEs21(xuu4000, xuu300, cff)
new_ltEs16(Right(xuu550), Right(xuu560), fh, ty_Bool) → new_ltEs10(xuu550, xuu560)
new_lt19(xuu109, xuu112, app(app(ty_@2, dcb), dcc)) → new_lt4(xuu109, xuu112, dcb, dcc)
new_esEs15(True, True) → True
new_esEs39(xuu40001, xuu3001, ty_@0) → new_esEs22(xuu40001, xuu3001)
new_esEs4(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_esEs14([], :(xuu3000, xuu3001), egf) → False
new_esEs14(:(xuu40000, xuu40001), [], egf) → False
new_esEs27(xuu550, xuu560, ty_Char) → new_esEs23(xuu550, xuu560)
new_ltEs23(xuu122, xuu124, app(app(ty_Either, eee), eef)) → new_ltEs16(xuu122, xuu124, eee, eef)
new_ltEs24(xuu552, xuu562, app(app(ty_Either, fdf), fdg)) → new_ltEs16(xuu552, xuu562, fdf, fdg)
new_lt22(xuu550, xuu560, ty_Int) → new_lt15(xuu550, xuu560)
new_ltEs20(xuu110, xuu113, ty_Char) → new_ltEs12(xuu110, xuu113)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Int) → new_esEs24(xuu40000, xuu3000)
new_compare112(xuu158, xuu159, False, egd, ege) → GT
new_primEqInt(Neg(Zero), Neg(Succ(xuu30000))) → False
new_primEqInt(Neg(Succ(xuu400000)), Neg(Zero)) → False
new_ltEs19(xuu551, xuu561, ty_Char) → new_ltEs12(xuu551, xuu561)
new_esEs37(xuu550, xuu560, app(app(ty_@2, fbe), fbf)) → new_esEs19(xuu550, xuu560, fbe, fbf)
new_esEs19(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), beg, beh) → new_asAs(new_esEs31(xuu40000, xuu3000, beg), new_esEs30(xuu40001, xuu3001, beh))
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(app(ty_@3, fee), fef), feg)) → new_esEs18(xuu40000, xuu3000, fee, fef, feg)
new_esEs40(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_ltEs24(xuu552, xuu562, ty_Int) → new_ltEs13(xuu552, xuu562)
new_esEs4(xuu4000, xuu300, app(app(ty_@2, beg), beh)) → new_esEs19(xuu4000, xuu300, beg, beh)
new_esEs10(xuu4001, xuu301, app(app(ty_Either, ecb), ecc)) → new_esEs25(xuu4001, xuu301, ecb, ecc)
new_esEs34(xuu121, xuu123, app(app(ty_Either, efg), efh)) → new_esEs25(xuu121, xuu123, efg, efh)
new_ltEs20(xuu110, xuu113, ty_Double) → new_ltEs15(xuu110, xuu113)
new_esEs36(xuu551, xuu561, ty_@0) → new_esEs22(xuu551, xuu561)
new_primCmpNat0(Succ(xuu40000), Succ(xuu3000)) → new_primCmpNat0(xuu40000, xuu3000)
new_esEs38(xuu40002, xuu3002, app(app(ty_@2, fgc), fgd)) → new_esEs19(xuu40002, xuu3002, fgc, fgd)
new_ltEs5(EQ, EQ) → True
new_esEs35(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_esEs13(LT, LT) → True
new_ltEs22(xuu84, xuu85, app(app(app(ty_@3, dgh), dha), dhb)) → new_ltEs14(xuu84, xuu85, dgh, dha, dhb)
new_lt22(xuu550, xuu560, ty_Char) → new_lt14(xuu550, xuu560)
new_compare16(Just(xuu4000), Just(xuu300), cg) → new_compare25(xuu4000, xuu300, new_esEs4(xuu4000, xuu300, cg), cg)
new_compare29(xuu84, xuu85, False, dgd, dge) → new_compare110(xuu84, xuu85, new_ltEs22(xuu84, xuu85, dge), dgd, dge)
new_compare12(Double(xuu4000, xuu4001), Double(xuu300, xuu301)) → new_compare7(new_sr(xuu4000, xuu300), new_sr(xuu4001, xuu301))
new_esEs37(xuu550, xuu560, app(app(ty_Either, fbb), fbc)) → new_esEs25(xuu550, xuu560, fbb, fbc)
new_ltEs23(xuu122, xuu124, app(ty_Maybe, eea)) → new_ltEs8(xuu122, xuu124, eea)
new_esEs6(xuu4001, xuu301, app(app(app(ty_@3, hh), baa), bab)) → new_esEs18(xuu4001, xuu301, hh, baa, bab)
new_compare15(:%(xuu4000, xuu4001), :%(xuu300, xuu301), ty_Int) → new_compare7(new_sr(xuu4000, xuu301), new_sr(xuu300, xuu4001))
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(ty_@2, feh), ffa)) → new_esEs19(xuu40000, xuu3000, feh, ffa)
new_primCompAux00(xuu49, LT) → LT
new_esEs30(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Char, bhe) → new_esEs23(xuu40000, xuu3000)
new_esEs35(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_ltEs23(xuu122, xuu124, ty_Bool) → new_ltEs10(xuu122, xuu124)
new_esEs10(xuu4001, xuu301, ty_Double) → new_esEs16(xuu4001, xuu301)
new_primEqInt(Pos(Succ(xuu400000)), Pos(Zero)) → False
new_primEqInt(Pos(Zero), Pos(Succ(xuu30000))) → False
new_ltEs18(xuu55, xuu56, ty_Integer) → new_ltEs11(xuu55, xuu56)
new_primPlusNat0(Zero, Succ(xuu13400)) → Succ(xuu13400)
new_primPlusNat0(Succ(xuu39200), Zero) → Succ(xuu39200)
new_ltEs5(GT, LT) → False
new_primCmpNat0(Zero, Zero) → EQ
new_primCmpNat0(Succ(xuu40000), Zero) → GT
new_lt20(xuu108, xuu111, app(app(ty_@2, def), deg)) → new_lt4(xuu108, xuu111, def, deg)
new_ltEs20(xuu110, xuu113, ty_Ordering) → new_ltEs5(xuu110, xuu113)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Ordering) → new_ltEs5(xuu550, xuu560)
new_compare111(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, xuu187, bh, ca, cb) → new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, bh, ca, cb)
new_primCmpInt(Neg(Zero), Pos(Succ(xuu3000))) → LT
new_sr0(Integer(xuu3000), Integer(xuu40010)) → Integer(new_primMulInt(xuu3000, xuu40010))
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Char) → new_esEs23(xuu40000, xuu3000)
new_compare28(xuu77, xuu78, True, deh, dfa) → EQ
new_primEqInt(Pos(Succ(xuu400000)), Neg(xuu3000)) → False
new_primEqInt(Neg(Succ(xuu400000)), Pos(xuu3000)) → False
new_esEs10(xuu4001, xuu301, app(ty_[], ebb)) → new_esEs14(xuu4001, xuu301, ebb)
new_esEs33(xuu108, xuu111, ty_Float) → new_esEs20(xuu108, xuu111)
new_compare(:(xuu4000, xuu4001), :(xuu300, xuu301), cf) → new_primCompAux0(xuu4000, xuu300, new_compare(xuu4001, xuu301, cf), cf)
new_esEs16(Double(xuu40000, xuu40001), Double(xuu3000, xuu3001)) → new_esEs24(new_sr(xuu40000, xuu3000), new_sr(xuu40001, xuu3001))
new_ltEs24(xuu552, xuu562, ty_Bool) → new_ltEs10(xuu552, xuu562)
new_esEs37(xuu550, xuu560, ty_@0) → new_esEs22(xuu550, xuu560)
new_esEs5(xuu4002, xuu302, app(ty_Maybe, hc)) → new_esEs21(xuu4002, xuu302, hc)
new_esEs27(xuu550, xuu560, app(app(ty_@2, bdb), bdc)) → new_esEs19(xuu550, xuu560, bdb, bdc)
new_lt20(xuu108, xuu111, ty_Integer) → new_lt6(xuu108, xuu111)
new_esEs6(xuu4001, xuu301, app(app(ty_Either, baf), bag)) → new_esEs25(xuu4001, xuu301, baf, bag)
new_esEs4(xuu4000, xuu300, app(app(ty_Either, cah), bhe)) → new_esEs25(xuu4000, xuu300, cah, bhe)
new_esEs35(xuu40000, xuu3000, app(ty_Maybe, fab)) → new_esEs21(xuu40000, xuu3000, fab)
new_esEs40(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_esEs41(EQ) → False
new_compare210(xuu121, xuu122, xuu123, xuu124, False, edf, edg) → new_compare13(xuu121, xuu122, xuu123, xuu124, new_lt21(xuu121, xuu123, edf), new_asAs(new_esEs34(xuu121, xuu123, edf), new_ltEs23(xuu122, xuu124, edg)), edf, edg)
new_compare17(GT, GT) → EQ
new_ltEs16(Right(xuu550), Right(xuu560), fh, app(app(ty_@2, cee), cef)) → new_ltEs17(xuu550, xuu560, cee, cef)
new_esEs7(xuu4000, xuu300, app(ty_Ratio, bba)) → new_esEs17(xuu4000, xuu300, bba)
new_esEs9(xuu4000, xuu300, app(app(app(ty_@3, cgc), cgd), cge)) → new_esEs18(xuu4000, xuu300, cgc, cgd, cge)
new_esEs5(xuu4002, xuu302, ty_Float) → new_esEs20(xuu4002, xuu302)
new_primCmpInt(Pos(Succ(xuu40000)), Pos(xuu300)) → new_primCmpNat0(Succ(xuu40000), xuu300)
new_esEs27(xuu550, xuu560, ty_@0) → new_esEs22(xuu550, xuu560)
new_lt21(xuu121, xuu123, app(ty_[], efb)) → new_lt12(xuu121, xuu123, efb)
new_esEs37(xuu550, xuu560, ty_Int) → new_esEs24(xuu550, xuu560)
new_esEs33(xuu108, xuu111, app(ty_Ratio, dee)) → new_esEs17(xuu108, xuu111, dee)
new_esEs38(xuu40002, xuu3002, ty_Float) → new_esEs20(xuu40002, xuu3002)
new_lt11(xuu550, xuu560, app(ty_[], bcb)) → new_lt12(xuu550, xuu560, bcb)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs34(xuu121, xuu123, ty_@0) → new_esEs22(xuu121, xuu123)
new_compare17(GT, LT) → GT
new_esEs8(xuu4000, xuu300, app(app(app(ty_@3, cfa), cfb), cfc)) → new_esEs18(xuu4000, xuu300, cfa, cfb, cfc)
new_esEs4(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_ltEs19(xuu551, xuu561, ty_Float) → new_ltEs6(xuu551, xuu561)
new_lt11(xuu550, xuu560, ty_@0) → new_lt16(xuu550, xuu560)
new_esEs8(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Integer, ga) → new_ltEs11(xuu550, xuu560)
new_compare17(LT, GT) → LT
new_esEs31(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_ltEs24(xuu552, xuu562, ty_Double) → new_ltEs15(xuu552, xuu562)
new_gt(xuu19, xuu14, ty_Int) → new_gt0(xuu19, xuu14)
new_lt23(xuu551, xuu561, app(ty_[], fbg)) → new_lt12(xuu551, xuu561, fbg)
new_primCmpInt(Pos(Succ(xuu40000)), Neg(xuu300)) → GT
new_lt23(xuu551, xuu561, ty_Char) → new_lt14(xuu551, xuu561)
new_esEs40(xuu40000, xuu3000, app(ty_[], gab)) → new_esEs14(xuu40000, xuu3000, gab)
new_lt8(xuu400, xuu30, dc) → new_esEs12(new_compare15(xuu400, xuu30, dc))
new_lt19(xuu109, xuu112, ty_Ordering) → new_lt10(xuu109, xuu112)
new_ltEs19(xuu551, xuu561, ty_@0) → new_ltEs4(xuu551, xuu561)
new_primMulInt(Pos(xuu40010), Pos(xuu3010)) → Pos(new_primMulNat0(xuu40010, xuu3010))
new_ltEs7(xuu55, xuu56, df) → new_fsEs(new_compare15(xuu55, xuu56, df))
new_ltEs5(LT, GT) → True
new_lt22(xuu550, xuu560, ty_@0) → new_lt16(xuu550, xuu560)
new_esEs36(xuu551, xuu561, app(app(ty_Either, fcd), fce)) → new_esEs25(xuu551, xuu561, fcd, fce)
new_ltEs16(Right(xuu550), Right(xuu560), fh, app(ty_[], cde)) → new_ltEs9(xuu550, xuu560, cde)
new_primPlusNat0(Zero, Zero) → Zero
new_lt5(xuu400, xuu30, cc, cd, ce) → new_esEs12(new_compare9(xuu400, xuu30, cc, cd, ce))
new_primEqInt(Pos(Zero), Pos(Zero)) → True
new_esEs21(Just(xuu40000), Just(xuu3000), ty_@0) → new_esEs22(xuu40000, xuu3000)
new_lt19(xuu109, xuu112, ty_Double) → new_lt17(xuu109, xuu112)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs33(xuu108, xuu111, app(ty_Maybe, ddg)) → new_esEs21(xuu108, xuu111, ddg)
new_compare17(LT, EQ) → LT
new_esEs40(xuu40000, xuu3000, app(app(ty_@2, gag), gah)) → new_esEs19(xuu40000, xuu3000, gag, gah)
new_lt23(xuu551, xuu561, ty_Double) → new_lt17(xuu551, xuu561)
new_ltEs18(xuu55, xuu56, app(app(ty_@2, gb), gc)) → new_ltEs17(xuu55, xuu56, gb, gc)
new_esEs40(xuu40000, xuu3000, app(ty_Maybe, gba)) → new_esEs21(xuu40000, xuu3000, gba)
new_lt20(xuu108, xuu111, ty_Char) → new_lt14(xuu108, xuu111)
new_esEs9(xuu4000, xuu300, app(app(ty_Either, cha), chb)) → new_esEs25(xuu4000, xuu300, cha, chb)
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_[], ccc), ga) → new_ltEs9(xuu550, xuu560, ccc)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Int, bhe) → new_esEs24(xuu40000, xuu3000)
new_ltEs12(xuu55, xuu56) → new_fsEs(new_compare19(xuu55, xuu56))
new_esEs9(xuu4000, xuu300, app(ty_Ratio, cgb)) → new_esEs17(xuu4000, xuu300, cgb)
new_primCmpInt(Neg(Zero), Neg(Succ(xuu3000))) → new_primCmpNat0(Succ(xuu3000), Zero)
new_esEs7(xuu4000, xuu300, app(app(app(ty_@3, bbb), bbc), bbd)) → new_esEs18(xuu4000, xuu300, bbb, bbc, bbd)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_Ratio, eg)) → new_ltEs7(xuu550, xuu560, eg)
new_esEs31(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Float) → new_ltEs6(xuu550, xuu560)
new_esEs40(xuu40000, xuu3000, app(app(app(ty_@3, gad), gae), gaf)) → new_esEs18(xuu40000, xuu3000, gad, gae, gaf)
new_esEs35(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_ltEs21(xuu77, xuu78, ty_Integer) → new_ltEs11(xuu77, xuu78)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_@0, bhe) → new_esEs22(xuu40000, xuu3000)
new_esEs37(xuu550, xuu560, ty_Ordering) → new_esEs13(xuu550, xuu560)
new_esEs10(xuu4001, xuu301, ty_Integer) → new_esEs26(xuu4001, xuu301)
new_lt22(xuu550, xuu560, ty_Ordering) → new_lt10(xuu550, xuu560)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_Maybe, ea)) → new_ltEs8(xuu550, xuu560, ea)
new_lt22(xuu550, xuu560, ty_Float) → new_lt7(xuu550, xuu560)
new_esEs11(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_esEs10(xuu4001, xuu301, ty_Char) → new_esEs23(xuu4001, xuu301)
new_ltEs18(xuu55, xuu56, ty_Double) → new_ltEs15(xuu55, xuu56)
new_primMulNat0(Zero, Succ(xuu30100)) → Zero
new_primMulNat0(Succ(xuu400100), Zero) → Zero
new_ltEs18(xuu55, xuu56, ty_Ordering) → new_ltEs5(xuu55, xuu56)
new_esEs13(EQ, GT) → False
new_esEs13(GT, EQ) → False
new_ltEs5(LT, EQ) → True
new_esEs35(xuu40000, xuu3000, app(ty_[], ehc)) → new_esEs14(xuu40000, xuu3000, ehc)
new_esEs32(xuu109, xuu112, ty_Bool) → new_esEs15(xuu109, xuu112)
new_ltEs16(Left(xuu550), Left(xuu560), app(app(ty_@2, cdc), cdd), ga) → new_ltEs17(xuu550, xuu560, cdc, cdd)
new_esEs31(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_ltEs14(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), fd, ff, fg) → new_pePe(new_lt22(xuu550, xuu560, fd), new_asAs(new_esEs37(xuu550, xuu560, fd), new_pePe(new_lt23(xuu551, xuu561, ff), new_asAs(new_esEs36(xuu551, xuu561, ff), new_ltEs24(xuu552, xuu562, fg)))))
new_esEs30(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_compare31(xuu4000, xuu300, app(ty_Ratio, eag)) → new_compare15(xuu4000, xuu300, eag)
new_esEs25(Right(xuu40000), Right(xuu3000), cah, app(app(ty_@2, cbf), cbg)) → new_esEs19(xuu40000, xuu3000, cbf, cbg)
new_lt24(xuu400, xuu30, app(ty_Ratio, dc)) → new_lt8(xuu400, xuu30, dc)
new_ltEs16(Right(xuu550), Right(xuu560), fh, ty_Integer) → new_ltEs11(xuu550, xuu560)
new_esEs40(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_lt12(xuu400, xuu30, cf) → new_esEs12(new_compare(xuu400, xuu30, cf))
new_esEs6(xuu4001, xuu301, ty_Bool) → new_esEs15(xuu4001, xuu301)
new_ltEs18(xuu55, xuu56, ty_Char) → new_ltEs12(xuu55, xuu56)
new_lt6(xuu400, xuu30) → new_esEs12(new_compare11(xuu400, xuu30))
new_compare18(xuu144, xuu145, True, ffe) → LT
new_lt22(xuu550, xuu560, app(app(ty_Either, fbb), fbc)) → new_lt18(xuu550, xuu560, fbb, fbc)
new_esEs24(xuu4000, xuu300) → new_primEqInt(xuu4000, xuu300)
new_esEs33(xuu108, xuu111, app(app(ty_@2, def), deg)) → new_esEs19(xuu108, xuu111, def, deg)
new_esEs33(xuu108, xuu111, ty_Bool) → new_esEs15(xuu108, xuu111)
new_ltEs23(xuu122, xuu124, app(app(ty_@2, eeh), efa)) → new_ltEs17(xuu122, xuu124, eeh, efa)
new_lt19(xuu109, xuu112, ty_@0) → new_lt16(xuu109, xuu112)
new_ltEs16(Right(xuu550), Left(xuu560), fh, ga) → False
new_esEs41(LT) → False
new_esEs25(Right(xuu40000), Right(xuu3000), cah, app(ty_Maybe, cbh)) → new_esEs21(xuu40000, xuu3000, cbh)
new_esEs7(xuu4000, xuu300, app(ty_[], bah)) → new_esEs14(xuu4000, xuu300, bah)
new_esEs34(xuu121, xuu123, ty_Char) → new_esEs23(xuu121, xuu123)
new_compare31(xuu4000, xuu300, ty_Char) → new_compare19(xuu4000, xuu300)
new_esEs32(xuu109, xuu112, app(ty_Ratio, dca)) → new_esEs17(xuu109, xuu112, dca)
new_ltEs24(xuu552, xuu562, ty_Char) → new_ltEs12(xuu552, xuu562)
new_esEs35(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_esEs34(xuu121, xuu123, app(ty_[], efb)) → new_esEs14(xuu121, xuu123, efb)
new_ltEs23(xuu122, xuu124, ty_Ordering) → new_ltEs5(xuu122, xuu124)
new_ltEs18(xuu55, xuu56, app(ty_Maybe, dg)) → new_ltEs8(xuu55, xuu56, dg)
new_compare31(xuu4000, xuu300, ty_Float) → new_compare6(xuu4000, xuu300)
new_ltEs16(Right(xuu550), Right(xuu560), fh, ty_Double) → new_ltEs15(xuu550, xuu560)
new_ltEs22(xuu84, xuu85, app(app(ty_@2, dhf), dhg)) → new_ltEs17(xuu84, xuu85, dhf, dhg)
new_ltEs8(Nothing, Nothing, dg) → True
new_compare31(xuu4000, xuu300, ty_Ordering) → new_compare17(xuu4000, xuu300)
new_compare13(xuu195, xuu196, xuu197, xuu198, False, xuu200, dd, de) → new_compare14(xuu195, xuu196, xuu197, xuu198, xuu200, dd, de)
new_esEs40(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs38(xuu40002, xuu3002, ty_Double) → new_esEs16(xuu40002, xuu3002)
new_lt21(xuu121, xuu123, ty_Double) → new_lt17(xuu121, xuu123)
new_ltEs22(xuu84, xuu85, app(ty_[], dgf)) → new_ltEs9(xuu84, xuu85, dgf)
new_ltEs22(xuu84, xuu85, ty_Bool) → new_ltEs10(xuu84, xuu85)
new_esEs6(xuu4001, xuu301, ty_Integer) → new_esEs26(xuu4001, xuu301)
new_esEs35(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_lt21(xuu121, xuu123, app(app(ty_Either, efg), efh)) → new_lt18(xuu121, xuu123, efg, efh)
new_esEs37(xuu550, xuu560, ty_Integer) → new_esEs26(xuu550, xuu560)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_Maybe, cae), bhe) → new_esEs21(xuu40000, xuu3000, cae)
new_esEs10(xuu4001, xuu301, ty_Float) → new_esEs20(xuu4001, xuu301)
new_primMulNat0(Succ(xuu400100), Succ(xuu30100)) → new_primPlusNat0(new_primMulNat0(xuu400100, Succ(xuu30100)), Succ(xuu30100))
new_esEs10(xuu4001, xuu301, app(app(ty_@2, ebg), ebh)) → new_esEs19(xuu4001, xuu301, ebg, ebh)
new_lt20(xuu108, xuu111, app(app(app(ty_@3, ddh), dea), deb)) → new_lt5(xuu108, xuu111, ddh, dea, deb)
new_esEs32(xuu109, xuu112, ty_@0) → new_esEs22(xuu109, xuu112)
new_compare17(LT, LT) → EQ
new_primPlusNat0(Succ(xuu39200), Succ(xuu13400)) → Succ(Succ(new_primPlusNat0(xuu39200, xuu13400)))
new_ltEs19(xuu551, xuu561, ty_Ordering) → new_ltEs5(xuu551, xuu561)
new_esEs27(xuu550, xuu560, app(app(ty_Either, bcg), bch)) → new_esEs25(xuu550, xuu560, bcg, bch)
new_lt20(xuu108, xuu111, ty_Ordering) → new_lt10(xuu108, xuu111)
new_compare111(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, False, xuu187, bh, ca, cb) → new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, xuu187, bh, ca, cb)
new_esEs27(xuu550, xuu560, app(ty_[], bcb)) → new_esEs14(xuu550, xuu560, bcb)
new_compare16(Just(xuu4000), Nothing, cg) → GT
new_esEs5(xuu4002, xuu302, app(app(app(ty_@3, gf), gg), gh)) → new_esEs18(xuu4002, xuu302, gf, gg, gh)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Char) → new_ltEs12(xuu550, xuu560)
new_esEs9(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_ltEs22(xuu84, xuu85, app(ty_Maybe, dgg)) → new_ltEs8(xuu84, xuu85, dgg)
new_lt11(xuu550, xuu560, ty_Float) → new_lt7(xuu550, xuu560)
new_compare31(xuu4000, xuu300, ty_Int) → new_compare7(xuu4000, xuu300)
new_ltEs22(xuu84, xuu85, ty_Double) → new_ltEs15(xuu84, xuu85)
new_esEs31(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_esEs32(xuu109, xuu112, ty_Double) → new_esEs16(xuu109, xuu112)
new_esEs23(Char(xuu40000), Char(xuu3000)) → new_primEqNat0(xuu40000, xuu3000)
new_ltEs23(xuu122, xuu124, ty_@0) → new_ltEs4(xuu122, xuu124)
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(ty_Either, caf), cag), bhe) → new_esEs25(xuu40000, xuu3000, caf, cag)
new_gt(xuu19, xuu14, app(ty_[], chc)) → new_esEs41(new_compare(xuu19, xuu14, chc))
new_esEs34(xuu121, xuu123, app(app(ty_@2, egb), egc)) → new_esEs19(xuu121, xuu123, egb, egc)
new_lt23(xuu551, xuu561, app(app(ty_Either, fcd), fce)) → new_lt18(xuu551, xuu561, fcd, fce)
new_ltEs24(xuu552, xuu562, ty_@0) → new_ltEs4(xuu552, xuu562)
new_esEs36(xuu551, xuu561, app(ty_Ratio, fcf)) → new_esEs17(xuu551, xuu561, fcf)
new_lt23(xuu551, xuu561, ty_Int) → new_lt15(xuu551, xuu561)
new_esEs38(xuu40002, xuu3002, app(ty_Ratio, ffg)) → new_esEs17(xuu40002, xuu3002, ffg)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Ordering, bhe) → new_esEs13(xuu40000, xuu3000)
new_primCompAux00(xuu49, GT) → GT
new_lt7(xuu400, xuu30) → new_esEs12(new_compare6(xuu400, xuu30))
new_esEs39(xuu40001, xuu3001, app(app(ty_@2, fhe), fhf)) → new_esEs19(xuu40001, xuu3001, fhe, fhf)
new_ltEs21(xuu77, xuu78, app(app(ty_Either, dfg), dfh)) → new_ltEs16(xuu77, xuu78, dfg, dfh)
new_primCmpInt(Pos(Zero), Pos(Zero)) → EQ
new_ltEs17(@2(xuu550, xuu551), @2(xuu560, xuu561), gb, gc) → new_pePe(new_lt11(xuu550, xuu560, gb), new_asAs(new_esEs27(xuu550, xuu560, gb), new_ltEs19(xuu551, xuu561, gc)))
new_esEs39(xuu40001, xuu3001, app(ty_[], fgh)) → new_esEs14(xuu40001, xuu3001, fgh)
new_esEs5(xuu4002, xuu302, ty_Bool) → new_esEs15(xuu4002, xuu302)
new_esEs4(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_esEs39(xuu40001, xuu3001, ty_Double) → new_esEs16(xuu40001, xuu3001)
new_primCmpInt(Neg(Succ(xuu40000)), Pos(xuu300)) → LT
new_esEs20(Float(xuu40000, xuu40001), Float(xuu3000, xuu3001)) → new_esEs24(new_sr(xuu40000, xuu3000), new_sr(xuu40001, xuu3001))
new_compare26(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, dag, dah, dba) → new_compare111(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, new_lt20(xuu108, xuu111, dag), new_asAs(new_esEs33(xuu108, xuu111, dag), new_pePe(new_lt19(xuu109, xuu112, dah), new_asAs(new_esEs32(xuu109, xuu112, dah), new_ltEs20(xuu110, xuu113, dba)))), dag, dah, dba)
new_esEs15(False, False) → True
new_esEs31(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)

The set Q consists of the following terms:

new_ltEs18(x0, x1, ty_Int)
new_ltEs16(Right(x0), Right(x1), x2, ty_Float)
new_lt11(x0, x1, ty_Float)
new_primMulNat0(Zero, Succ(x0))
new_compare210(x0, x1, x2, x3, False, x4, x5)
new_ltEs16(Right(x0), Right(x1), x2, ty_Bool)
new_esEs32(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primEqInt(Neg(Succ(x0)), Neg(Zero))
new_esEs6(x0, x1, app(ty_Ratio, x2))
new_compare31(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs22(x0, x1, app(app(ty_Either, x2), x3))
new_esEs39(x0, x1, ty_@0)
new_esEs36(x0, x1, ty_Float)
new_esEs21(Just(x0), Just(x1), ty_Char)
new_compare18(x0, x1, True, x2)
new_esEs38(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs19(x0, x1, app(ty_Ratio, x2))
new_esEs8(x0, x1, ty_Float)
new_esEs25(Right(x0), Right(x1), x2, app(app(ty_Either, x3), x4))
new_ltEs4(x0, x1)
new_ltEs16(Left(x0), Left(x1), app(app(ty_Either, x2), x3), x4)
new_esEs25(Right(x0), Right(x1), x2, ty_Int)
new_ltEs8(Just(x0), Just(x1), app(app(ty_@2, x2), x3))
new_esEs27(x0, x1, ty_Int)
new_compare18(x0, x1, False, x2)
new_primEqInt(Pos(Zero), Pos(Succ(x0)))
new_esEs15(True, True)
new_esEs32(x0, x1, app(app(ty_@2, x2), x3))
new_esEs11(x0, x1, ty_Int)
new_ltEs15(x0, x1)
new_compare31(x0, x1, ty_Char)
new_esEs8(x0, x1, app(ty_[], x2))
new_ltEs24(x0, x1, ty_Int)
new_esEs31(x0, x1, app(ty_[], x2))
new_lt21(x0, x1, app(ty_Ratio, x2))
new_esEs6(x0, x1, ty_Double)
new_ltEs16(Left(x0), Right(x1), x2, x3)
new_esEs35(x0, x1, ty_Bool)
new_ltEs16(Right(x0), Left(x1), x2, x3)
new_ltEs20(x0, x1, app(ty_[], x2))
new_esEs34(x0, x1, ty_Double)
new_ltEs17(@2(x0, x1), @2(x2, x3), x4, x5)
new_esEs25(Right(x0), Right(x1), x2, app(ty_Ratio, x3))
new_esEs14(:(x0, x1), [], x2)
new_ltEs8(Just(x0), Just(x1), ty_Char)
new_lt20(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_compare31(x0, x1, ty_Integer)
new_compare111(x0, x1, x2, x3, x4, x5, False, x6, x7, x8, x9)
new_compare17(GT, GT)
new_lt9(x0, x1, x2)
new_esEs33(x0, x1, ty_Double)
new_esEs25(Left(x0), Left(x1), ty_Bool, x2)
new_compare8(@0, @0)
new_primMulInt(Neg(x0), Neg(x1))
new_esEs37(x0, x1, app(app(ty_@2, x2), x3))
new_esEs5(x0, x1, app(app(ty_Either, x2), x3))
new_lt24(x0, x1, ty_Bool)
new_esEs5(x0, x1, app(app(ty_@2, x2), x3))
new_compare25(x0, x1, True, x2)
new_esEs18(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)
new_esEs8(x0, x1, app(ty_Ratio, x2))
new_esEs13(GT, LT)
new_esEs13(LT, GT)
new_esEs36(x0, x1, ty_Bool)
new_ltEs18(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs35(x0, x1, ty_@0)
new_esEs30(x0, x1, app(ty_Ratio, x2))
new_lt11(x0, x1, ty_Bool)
new_esEs22(@0, @0)
new_esEs7(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs5(EQ, LT)
new_ltEs5(LT, EQ)
new_primPlusNat0(Zero, Succ(x0))
new_ltEs16(Right(x0), Right(x1), x2, ty_Integer)
new_ltEs20(x0, x1, ty_Int)
new_ltEs20(x0, x1, app(app(ty_@2, x2), x3))
new_esEs25(Left(x0), Left(x1), ty_Double, x2)
new_compare11(Integer(x0), Integer(x1))
new_primEqNat0(Zero, Zero)
new_ltEs8(Just(x0), Just(x1), ty_@0)
new_esEs32(x0, x1, ty_Double)
new_lt24(x0, x1, app(ty_Ratio, x2))
new_esEs36(x0, x1, app(ty_Maybe, x2))
new_esEs21(Just(x0), Just(x1), ty_Bool)
new_esEs11(x0, x1, ty_@0)
new_esEs36(x0, x1, app(app(ty_Either, x2), x3))
new_esEs11(x0, x1, ty_Double)
new_esEs9(x0, x1, ty_Integer)
new_lt19(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primCompAux0(x0, x1, x2, x3)
new_esEs13(GT, EQ)
new_esEs13(EQ, GT)
new_ltEs8(Just(x0), Just(x1), app(ty_Maybe, x2))
new_primMulNat0(Zero, Zero)
new_ltEs24(x0, x1, ty_Double)
new_lt22(x0, x1, app(ty_Maybe, x2))
new_esEs36(x0, x1, ty_Double)
new_esEs12(LT)
new_lt20(x0, x1, ty_Int)
new_compare(:(x0, x1), :(x2, x3), x4)
new_ltEs16(Right(x0), Right(x1), x2, ty_Double)
new_lt11(x0, x1, ty_Double)
new_lt22(x0, x1, ty_Bool)
new_esEs27(x0, x1, ty_Bool)
new_esEs4(x0, x1, app(ty_Ratio, x2))
new_esEs6(x0, x1, ty_Int)
new_esEs7(x0, x1, app(ty_Maybe, x2))
new_lt20(x0, x1, ty_Char)
new_lt24(x0, x1, ty_Double)
new_esEs30(x0, x1, ty_Bool)
new_ltEs21(x0, x1, ty_Integer)
new_compare110(x0, x1, False, x2, x3)
new_lt20(x0, x1, ty_@0)
new_lt13(x0, x1)
new_ltEs16(Right(x0), Right(x1), x2, ty_@0)
new_esEs39(x0, x1, ty_Ordering)
new_primCmpNat0(Succ(x0), Zero)
new_lt20(x0, x1, ty_Bool)
new_compare5(@2(x0, x1), @2(x2, x3), x4, x5)
new_esEs8(x0, x1, app(app(ty_Either, x2), x3))
new_esEs27(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs8(Just(x0), Nothing, x1)
new_lt23(x0, x1, app(ty_Maybe, x2))
new_esEs9(x0, x1, app(ty_Maybe, x2))
new_compare15(:%(x0, x1), :%(x2, x3), ty_Int)
new_lt23(x0, x1, app(app(ty_Either, x2), x3))
new_esEs4(x0, x1, app(app(ty_Either, x2), x3))
new_esEs35(x0, x1, app(app(ty_@2, x2), x3))
new_esEs21(Just(x0), Just(x1), app(app(ty_Either, x2), x3))
new_ltEs21(x0, x1, ty_@0)
new_lt22(x0, x1, app(app(ty_@2, x2), x3))
new_compare26(x0, x1, x2, x3, x4, x5, False, x6, x7, x8)
new_ltEs24(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs5(x0, x1, app(ty_Ratio, x2))
new_lt11(x0, x1, ty_Integer)
new_compare17(EQ, GT)
new_compare17(GT, EQ)
new_gt(x0, x1, app(app(ty_@2, x2), x3))
new_esEs39(x0, x1, ty_Integer)
new_esEs33(x0, x1, ty_Integer)
new_sr(x0, x1)
new_esEs11(x0, x1, app(ty_Ratio, x2))
new_esEs31(x0, x1, ty_Int)
new_ltEs18(x0, x1, ty_Char)
new_esEs30(x0, x1, app(app(ty_Either, x2), x3))
new_esEs8(x0, x1, ty_Ordering)
new_esEs4(x0, x1, ty_Double)
new_ltEs16(Left(x0), Left(x1), ty_Integer, x2)
new_esEs30(x0, x1, ty_@0)
new_esEs32(x0, x1, ty_Integer)
new_primEqNat0(Zero, Succ(x0))
new_esEs10(x0, x1, app(ty_[], x2))
new_esEs25(Right(x0), Right(x1), x2, ty_Ordering)
new_esEs7(x0, x1, ty_Int)
new_esEs4(x0, x1, app(app(ty_@2, x2), x3))
new_compare31(x0, x1, ty_Int)
new_lt22(x0, x1, ty_Integer)
new_lt21(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs20(x0, x1, ty_Float)
new_esEs27(x0, x1, ty_Float)
new_ltEs22(x0, x1, ty_Char)
new_esEs30(x0, x1, ty_Float)
new_ltEs23(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs27(x0, x1, app(ty_[], x2))
new_ltEs16(Right(x0), Right(x1), x2, app(app(app(ty_@3, x3), x4), x5))
new_lt11(x0, x1, ty_Ordering)
new_ltEs20(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs33(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs10(False, False)
new_compare13(x0, x1, x2, x3, False, x4, x5, x6)
new_esEs5(x0, x1, ty_Integer)
new_esEs21(Just(x0), Nothing, x1)
new_ltEs16(Right(x0), Right(x1), x2, app(app(ty_Either, x3), x4))
new_esEs34(x0, x1, app(ty_Ratio, x2))
new_esEs34(x0, x1, ty_Integer)
new_compare13(x0, x1, x2, x3, True, x4, x5, x6)
new_ltEs16(Right(x0), Right(x1), x2, app(ty_[], x3))
new_ltEs23(x0, x1, app(ty_[], x2))
new_lt24(x0, x1, app(app(ty_Either, x2), x3))
new_esEs9(x0, x1, ty_Ordering)
new_esEs25(Right(x0), Right(x1), x2, ty_Double)
new_esEs35(x0, x1, app(ty_Ratio, x2))
new_esEs30(x0, x1, app(ty_[], x2))
new_ltEs16(Left(x0), Left(x1), ty_Int, x2)
new_esEs27(x0, x1, ty_Char)
new_compare15(:%(x0, x1), :%(x2, x3), ty_Integer)
new_compare110(x0, x1, True, x2, x3)
new_ltEs24(x0, x1, ty_@0)
new_primCompAux00(x0, EQ)
new_ltEs19(x0, x1, ty_Ordering)
new_esEs39(x0, x1, ty_Bool)
new_esEs36(x0, x1, ty_Int)
new_ltEs19(x0, x1, ty_Float)
new_compare31(x0, x1, ty_Ordering)
new_lt23(x0, x1, ty_Float)
new_lt19(x0, x1, ty_@0)
new_lt21(x0, x1, ty_Ordering)
new_ltEs23(x0, x1, ty_Int)
new_esEs33(x0, x1, app(ty_Ratio, x2))
new_esEs8(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs23(x0, x1, ty_Double)
new_esEs20(Float(x0, x1), Float(x2, x3))
new_esEs40(x0, x1, ty_Double)
new_ltEs8(Just(x0), Just(x1), app(ty_Ratio, x2))
new_esEs7(x0, x1, ty_Ordering)
new_esEs38(x0, x1, ty_Integer)
new_ltEs18(x0, x1, app(ty_Maybe, x2))
new_gt(x0, x1, app(ty_[], x2))
new_esEs25(Right(x0), Right(x1), x2, app(app(ty_@2, x3), x4))
new_lt22(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs7(x0, x1, ty_Bool)
new_esEs38(x0, x1, app(ty_Ratio, x2))
new_esEs37(x0, x1, ty_Integer)
new_lt22(x0, x1, ty_Int)
new_esEs7(x0, x1, ty_@0)
new_lt12(x0, x1, x2)
new_esEs6(x0, x1, app(ty_Maybe, x2))
new_ltEs20(x0, x1, ty_Bool)
new_esEs25(Left(x0), Left(x1), ty_Float, x2)
new_lt23(x0, x1, ty_Double)
new_esEs39(x0, x1, ty_Int)
new_esEs35(x0, x1, app(app(ty_Either, x2), x3))
new_esEs31(x0, x1, app(ty_Maybe, x2))
new_esEs21(Just(x0), Just(x1), ty_Float)
new_gt(x0, x1, ty_Float)
new_compare31(x0, x1, ty_Bool)
new_lt19(x0, x1, ty_Int)
new_esEs29(x0, x1, ty_Int)
new_compare(:(x0, x1), [], x2)
new_esEs28(x0, x1, ty_Int)
new_esEs10(x0, x1, ty_Double)
new_primCmpInt(Pos(Zero), Pos(Zero))
new_esEs15(False, True)
new_esEs15(True, False)
new_ltEs16(Left(x0), Left(x1), app(app(app(ty_@3, x2), x3), x4), x5)
new_lt21(x0, x1, ty_Double)
new_lt24(x0, x1, ty_@0)
new_esEs10(x0, x1, app(ty_Ratio, x2))
new_esEs24(x0, x1)
new_primEqInt(Neg(Zero), Neg(Zero))
new_ltEs6(x0, x1)
new_ltEs24(x0, x1, app(ty_Maybe, x2))
new_esEs10(x0, x1, ty_Ordering)
new_compare112(x0, x1, False, x2, x3)
new_esEs25(Right(x0), Right(x1), x2, ty_Char)
new_esEs14([], :(x0, x1), x2)
new_esEs5(x0, x1, ty_Double)
new_esEs37(x0, x1, ty_Bool)
new_lt23(x0, x1, ty_Bool)
new_esEs8(x0, x1, ty_Integer)
new_esEs25(Left(x0), Left(x1), app(app(app(ty_@3, x2), x3), x4), x5)
new_lt23(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs6(x0, x1, ty_Char)
new_esEs36(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primCmpNat0(Zero, Succ(x0))
new_ltEs21(x0, x1, app(ty_Ratio, x2))
new_ltEs18(x0, x1, ty_Double)
new_lt8(x0, x1, x2)
new_esEs33(x0, x1, app(ty_[], x2))
new_ltEs19(x0, x1, ty_Int)
new_esEs37(x0, x1, ty_@0)
new_lt23(x0, x1, app(ty_[], x2))
new_esEs25(Left(x0), Left(x1), ty_@0, x2)
new_esEs6(x0, x1, app(app(ty_Either, x2), x3))
new_esEs31(x0, x1, ty_@0)
new_ltEs24(x0, x1, app(app(ty_@2, x2), x3))
new_compare27(Right(x0), Left(x1), x2, x3)
new_compare27(Left(x0), Right(x1), x2, x3)
new_esEs7(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primEqInt(Neg(Succ(x0)), Neg(Succ(x1)))
new_esEs11(x0, x1, ty_Char)
new_esEs8(x0, x1, ty_Char)
new_lt17(x0, x1)
new_compare31(x0, x1, app(ty_[], x2))
new_ltEs5(GT, LT)
new_ltEs5(LT, GT)
new_ltEs18(x0, x1, app(app(ty_@2, x2), x3))
new_esEs40(x0, x1, ty_Integer)
new_lt22(x0, x1, app(ty_[], x2))
new_ltEs7(x0, x1, x2)
new_lt21(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs12(x0, x1)
new_esEs31(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs11(x0, x1)
new_lt21(x0, x1, ty_@0)
new_gt(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs25(Left(x0), Left(x1), app(app(ty_Either, x2), x3), x4)
new_lt21(x0, x1, ty_Char)
new_esEs36(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs8(Nothing, Nothing, x0)
new_lt23(x0, x1, app(ty_Ratio, x2))
new_primEqInt(Neg(Zero), Neg(Succ(x0)))
new_esEs6(x0, x1, ty_@0)
new_ltEs10(True, True)
new_ltEs22(x0, x1, ty_Bool)
new_compare29(x0, x1, True, x2, x3)
new_primEqInt(Neg(Zero), Pos(Succ(x0)))
new_primEqInt(Pos(Zero), Neg(Succ(x0)))
new_esEs30(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs33(x0, x1, app(ty_Maybe, x2))
new_compare9(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)
new_lt21(x0, x1, ty_Bool)
new_ltEs19(x0, x1, app(ty_Maybe, x2))
new_esEs36(x0, x1, ty_Char)
new_ltEs19(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs16(Left(x0), Left(x1), ty_Ordering, x2)
new_esEs6(x0, x1, app(app(ty_@2, x2), x3))
new_esEs13(LT, LT)
new_esEs38(x0, x1, ty_Int)
new_esEs38(x0, x1, app(app(ty_@2, x2), x3))
new_primEqNat0(Succ(x0), Succ(x1))
new_esEs21(Just(x0), Just(x1), ty_Integer)
new_ltEs5(GT, GT)
new_esEs7(x0, x1, ty_Float)
new_ltEs8(Just(x0), Just(x1), app(app(app(ty_@3, x2), x3), x4))
new_compare12(Double(x0, x1), Double(x2, x3))
new_lt6(x0, x1)
new_gt(x0, x1, ty_Int)
new_esEs40(x0, x1, app(ty_[], x2))
new_primEqInt(Pos(Succ(x0)), Pos(Zero))
new_esEs23(Char(x0), Char(x1))
new_esEs31(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs16(Left(x0), Left(x1), ty_Double, x2)
new_compare16(Nothing, Nothing, x0)
new_esEs25(Left(x0), Left(x1), ty_Ordering, x2)
new_esEs5(x0, x1, app(ty_[], x2))
new_esEs36(x0, x1, ty_Integer)
new_esEs29(x0, x1, ty_Integer)
new_esEs31(x0, x1, ty_Char)
new_lt24(x0, x1, ty_Char)
new_esEs26(Integer(x0), Integer(x1))
new_compare14(x0, x1, x2, x3, True, x4, x5)
new_not(True)
new_esEs31(x0, x1, ty_Float)
new_ltEs21(x0, x1, ty_Ordering)
new_lt24(x0, x1, app(ty_Maybe, x2))
new_primCmpInt(Neg(Zero), Neg(Succ(x0)))
new_esEs25(Right(x0), Right(x1), x2, ty_Float)
new_compare27(Right(x0), Right(x1), x2, x3)
new_esEs8(x0, x1, ty_Double)
new_ltEs16(Right(x0), Right(x1), x2, ty_Ordering)
new_primCmpInt(Neg(Zero), Pos(Zero))
new_primCmpInt(Pos(Zero), Neg(Zero))
new_ltEs18(x0, x1, ty_Float)
new_esEs6(x0, x1, ty_Float)
new_not(False)
new_ltEs21(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs34(x0, x1, app(app(ty_Either, x2), x3))
new_compare17(LT, LT)
new_esEs5(x0, x1, ty_@0)
new_ltEs16(Left(x0), Left(x1), ty_Float, x2)
new_ltEs8(Just(x0), Just(x1), app(ty_[], x2))
new_ltEs16(Right(x0), Right(x1), x2, app(ty_Ratio, x3))
new_esEs10(x0, x1, app(ty_Maybe, x2))
new_esEs11(x0, x1, app(app(ty_@2, x2), x3))
new_esEs12(EQ)
new_esEs39(x0, x1, ty_Double)
new_esEs21(Just(x0), Just(x1), app(ty_Maybe, x2))
new_esEs30(x0, x1, ty_Int)
new_ltEs8(Just(x0), Just(x1), ty_Ordering)
new_ltEs18(x0, x1, ty_@0)
new_ltEs24(x0, x1, ty_Integer)
new_lt19(x0, x1, ty_Float)
new_esEs27(x0, x1, app(ty_Ratio, x2))
new_lt20(x0, x1, app(ty_Maybe, x2))
new_esEs21(Nothing, Nothing, x0)
new_primEqNat0(Succ(x0), Zero)
new_esEs4(x0, x1, ty_Ordering)
new_ltEs24(x0, x1, app(app(ty_Either, x2), x3))
new_esEs35(x0, x1, ty_Ordering)
new_lt7(x0, x1)
new_lt11(x0, x1, app(ty_Maybe, x2))
new_esEs11(x0, x1, ty_Bool)
new_ltEs16(Right(x0), Right(x1), x2, app(ty_Maybe, x3))
new_gt(x0, x1, ty_Bool)
new_esEs34(x0, x1, ty_Int)
new_ltEs10(True, False)
new_ltEs10(False, True)
new_esEs38(x0, x1, ty_Char)
new_esEs35(x0, x1, app(ty_[], x2))
new_primCompAux00(x0, LT)
new_esEs19(@2(x0, x1), @2(x2, x3), x4, x5)
new_esEs27(x0, x1, ty_Integer)
new_esEs40(x0, x1, ty_@0)
new_esEs34(x0, x1, ty_Bool)
new_ltEs23(x0, x1, app(app(ty_Either, x2), x3))
new_esEs4(x0, x1, app(ty_[], x2))
new_esEs32(x0, x1, ty_Int)
new_esEs12(GT)
new_compare19(Char(x0), Char(x1))
new_ltEs22(x0, x1, ty_Int)
new_esEs39(x0, x1, ty_Float)
new_primEqInt(Pos(Zero), Pos(Zero))
new_esEs37(x0, x1, app(ty_Maybe, x2))
new_lt11(x0, x1, app(app(ty_Either, x2), x3))
new_esEs6(x0, x1, ty_Integer)
new_ltEs19(x0, x1, app(app(ty_Either, x2), x3))
new_compare31(x0, x1, ty_Double)
new_gt(x0, x1, ty_Char)
new_primCmpInt(Pos(Zero), Neg(Succ(x0)))
new_primCmpInt(Neg(Zero), Pos(Succ(x0)))
new_esEs32(x0, x1, app(ty_Ratio, x2))
new_lt19(x0, x1, app(ty_[], x2))
new_esEs5(x0, x1, ty_Char)
new_esEs7(x0, x1, ty_Char)
new_esEs33(x0, x1, ty_Bool)
new_esEs40(x0, x1, ty_Ordering)
new_ltEs20(x0, x1, app(ty_Maybe, x2))
new_primCmpInt(Pos(Zero), Pos(Succ(x0)))
new_esEs11(x0, x1, app(ty_[], x2))
new_esEs34(x0, x1, app(app(ty_@2, x2), x3))
new_esEs37(x0, x1, ty_Ordering)
new_esEs25(Right(x0), Right(x1), x2, app(ty_Maybe, x3))
new_esEs9(x0, x1, ty_Bool)
new_esEs27(x0, x1, app(app(ty_@2, x2), x3))
new_esEs4(x0, x1, ty_Bool)
new_ltEs5(LT, LT)
new_ltEs21(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs23(x0, x1, ty_Bool)
new_esEs37(x0, x1, app(app(ty_Either, x2), x3))
new_esEs4(x0, x1, ty_Integer)
new_primMulInt(Pos(x0), Pos(x1))
new_esEs8(x0, x1, app(ty_Maybe, x2))
new_esEs21(Just(x0), Just(x1), ty_@0)
new_esEs7(x0, x1, ty_Integer)
new_ltEs22(x0, x1, ty_@0)
new_ltEs21(x0, x1, ty_Double)
new_lt19(x0, x1, ty_Ordering)
new_compare([], :(x0, x1), x2)
new_ltEs21(x0, x1, app(ty_Maybe, x2))
new_compare17(EQ, EQ)
new_ltEs13(x0, x1)
new_esEs40(x0, x1, ty_Char)
new_lt19(x0, x1, ty_Bool)
new_compare31(x0, x1, app(app(ty_Either, x2), x3))
new_esEs4(x0, x1, ty_Int)
new_compare112(x0, x1, True, x2, x3)
new_ltEs19(x0, x1, ty_Char)
new_esEs39(x0, x1, ty_Char)
new_esEs25(Left(x0), Left(x1), ty_Char, x2)
new_ltEs20(x0, x1, ty_Integer)
new_esEs33(x0, x1, ty_Float)
new_esEs34(x0, x1, app(ty_Maybe, x2))
new_lt22(x0, x1, ty_Ordering)
new_esEs13(GT, GT)
new_ltEs8(Just(x0), Just(x1), ty_Int)
new_esEs11(x0, x1, ty_Integer)
new_compare([], [], x0)
new_ltEs16(Left(x0), Left(x1), app(ty_Ratio, x2), x3)
new_lt11(x0, x1, app(ty_Ratio, x2))
new_esEs10(x0, x1, app(app(ty_@2, x2), x3))
new_pePe(True, x0)
new_esEs30(x0, x1, ty_Integer)
new_esEs10(x0, x1, ty_@0)
new_esEs37(x0, x1, ty_Int)
new_gt0(x0, x1)
new_ltEs23(x0, x1, ty_Integer)
new_lt21(x0, x1, ty_Int)
new_esEs35(x0, x1, ty_Int)
new_lt24(x0, x1, ty_Integer)
new_esEs37(x0, x1, app(ty_Ratio, x2))
new_gt(x0, x1, ty_Integer)
new_ltEs5(GT, EQ)
new_ltEs5(EQ, GT)
new_esEs15(False, False)
new_esEs38(x0, x1, ty_Double)
new_esEs16(Double(x0, x1), Double(x2, x3))
new_esEs4(x0, x1, ty_@0)
new_esEs35(x0, x1, ty_Integer)
new_lt24(x0, x1, ty_Ordering)
new_primCmpInt(Neg(Succ(x0)), Neg(x1))
new_ltEs21(x0, x1, ty_Char)
new_lt19(x0, x1, app(ty_Ratio, x2))
new_esEs32(x0, x1, ty_Char)
new_lt21(x0, x1, app(app(ty_Either, x2), x3))
new_compare30(False, False)
new_ltEs21(x0, x1, app(ty_[], x2))
new_gt(x0, x1, ty_Double)
new_lt11(x0, x1, ty_@0)
new_esEs38(x0, x1, ty_@0)
new_lt22(x0, x1, ty_Double)
new_lt4(x0, x1, x2, x3)
new_lt11(x0, x1, ty_Int)
new_ltEs18(x0, x1, ty_Bool)
new_gt(x0, x1, ty_@0)
new_ltEs20(x0, x1, ty_Ordering)
new_esEs11(x0, x1, app(ty_Maybe, x2))
new_compare31(x0, x1, app(ty_Maybe, x2))
new_esEs30(x0, x1, app(app(ty_@2, x2), x3))
new_esEs40(x0, x1, app(app(ty_@2, x2), x3))
new_lt20(x0, x1, app(ty_Ratio, x2))
new_lt16(x0, x1)
new_esEs11(x0, x1, ty_Ordering)
new_esEs6(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs25(Left(x0), Left(x1), ty_Integer, x2)
new_esEs8(x0, x1, app(app(ty_@2, x2), x3))
new_esEs34(x0, x1, ty_Float)
new_lt19(x0, x1, ty_Integer)
new_lt24(x0, x1, app(app(ty_@2, x2), x3))
new_esEs34(x0, x1, app(ty_[], x2))
new_ltEs20(x0, x1, ty_Char)
new_esEs25(Left(x0), Left(x1), app(ty_[], x2), x3)
new_esEs21(Just(x0), Just(x1), app(app(app(ty_@3, x2), x3), x4))
new_ltEs22(x0, x1, ty_Float)
new_esEs27(x0, x1, ty_Double)
new_esEs40(x0, x1, ty_Int)
new_ltEs23(x0, x1, app(ty_Maybe, x2))
new_ltEs18(x0, x1, app(app(ty_Either, x2), x3))
new_lt19(x0, x1, app(app(ty_@2, x2), x3))
new_esEs38(x0, x1, ty_Float)
new_compare17(GT, LT)
new_compare17(LT, GT)
new_esEs40(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs24(x0, x1, ty_Bool)
new_compare210(x0, x1, x2, x3, True, x4, x5)
new_lt24(x0, x1, ty_Float)
new_lt19(x0, x1, ty_Char)
new_ltEs24(x0, x1, ty_Float)
new_ltEs19(x0, x1, ty_Integer)
new_esEs27(x0, x1, ty_Ordering)
new_ltEs21(x0, x1, ty_Float)
new_esEs40(x0, x1, app(ty_Maybe, x2))
new_gt(x0, x1, ty_Ordering)
new_esEs38(x0, x1, ty_Ordering)
new_esEs21(Just(x0), Just(x1), ty_Double)
new_primMulNat0(Succ(x0), Zero)
new_esEs37(x0, x1, ty_Char)
new_ltEs22(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs9(x0, x1, ty_Char)
new_compare16(Just(x0), Nothing, x1)
new_esEs4(x0, x1, ty_Float)
new_sr0(Integer(x0), Integer(x1))
new_esEs35(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs35(x0, x1, ty_Double)
new_ltEs21(x0, x1, ty_Bool)
new_esEs37(x0, x1, ty_Float)
new_esEs30(x0, x1, ty_Ordering)
new_esEs13(EQ, EQ)
new_ltEs16(Left(x0), Left(x1), ty_Bool, x2)
new_gt(x0, x1, app(ty_Maybe, x2))
new_ltEs16(Left(x0), Left(x1), ty_Char, x2)
new_esEs36(x0, x1, ty_Ordering)
new_esEs7(x0, x1, app(ty_Ratio, x2))
new_primMulInt(Pos(x0), Neg(x1))
new_primMulInt(Neg(x0), Pos(x1))
new_esEs25(Right(x0), Right(x1), x2, ty_Bool)
new_esEs41(GT)
new_ltEs19(x0, x1, ty_Bool)
new_lt19(x0, x1, app(app(ty_Either, x2), x3))
new_primCmpNat0(Succ(x0), Succ(x1))
new_compare16(Nothing, Just(x0), x1)
new_esEs4(x0, x1, app(ty_Maybe, x2))
new_lt11(x0, x1, ty_Char)
new_gt(x0, x1, app(app(ty_Either, x2), x3))
new_esEs31(x0, x1, app(app(ty_@2, x2), x3))
new_lt21(x0, x1, app(ty_Maybe, x2))
new_ltEs8(Just(x0), Just(x1), ty_Integer)
new_lt22(x0, x1, app(ty_Ratio, x2))
new_compare7(x0, x1)
new_esEs34(x0, x1, ty_@0)
new_ltEs23(x0, x1, ty_Char)
new_esEs34(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs9(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt21(x0, x1, app(ty_[], x2))
new_compare10(x0, x1, x2, x3, x4, x5, False, x6, x7, x8)
new_primEqInt(Pos(Succ(x0)), Pos(Succ(x1)))
new_esEs40(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs32(x0, x1, ty_Bool)
new_esEs33(x0, x1, app(app(ty_@2, x2), x3))
new_primPlusNat0(Zero, Zero)
new_esEs32(x0, x1, ty_Float)
new_esEs10(x0, x1, ty_Int)
new_esEs9(x0, x1, ty_@0)
new_ltEs23(x0, x1, app(app(ty_@2, x2), x3))
new_esEs39(x0, x1, app(app(ty_Either, x2), x3))
new_esEs32(x0, x1, app(ty_[], x2))
new_esEs25(Left(x0), Left(x1), app(ty_Ratio, x2), x3)
new_asAs(True, x0)
new_ltEs8(Just(x0), Just(x1), ty_Bool)
new_esEs32(x0, x1, ty_Ordering)
new_ltEs16(Left(x0), Left(x1), app(ty_Maybe, x2), x3)
new_esEs31(x0, x1, ty_Ordering)
new_ltEs19(x0, x1, app(ty_[], x2))
new_primCmpInt(Neg(Zero), Neg(Zero))
new_esEs27(x0, x1, app(ty_Maybe, x2))
new_esEs8(x0, x1, ty_@0)
new_pePe(False, x0)
new_lt14(x0, x1)
new_esEs32(x0, x1, ty_@0)
new_esEs41(EQ)
new_ltEs19(x0, x1, ty_Double)
new_ltEs22(x0, x1, ty_Ordering)
new_esEs40(x0, x1, ty_Bool)
new_esEs37(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs9(x0, x1, app(ty_[], x2))
new_esEs33(x0, x1, ty_@0)
new_esEs40(x0, x1, app(ty_Ratio, x2))
new_lt23(x0, x1, ty_Int)
new_esEs9(x0, x1, app(app(ty_Either, x2), x3))
new_esEs25(Left(x0), Left(x1), ty_Int, x2)
new_esEs31(x0, x1, ty_Bool)
new_ltEs8(Just(x0), Just(x1), ty_Double)
new_esEs10(x0, x1, ty_Char)
new_ltEs23(x0, x1, ty_Float)
new_primEqInt(Neg(Succ(x0)), Pos(x1))
new_primEqInt(Pos(Succ(x0)), Neg(x1))
new_compare25(x0, x1, False, x2)
new_lt23(x0, x1, ty_Integer)
new_ltEs16(Left(x0), Left(x1), app(app(ty_@2, x2), x3), x4)
new_ltEs24(x0, x1, app(ty_Ratio, x2))
new_ltEs8(Nothing, Just(x0), x1)
new_lt18(x0, x1, x2, x3)
new_compare31(x0, x1, app(ty_Ratio, x2))
new_lt19(x0, x1, app(ty_Maybe, x2))
new_ltEs19(x0, x1, ty_@0)
new_esEs10(x0, x1, app(app(ty_Either, x2), x3))
new_esEs5(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_primCmpInt(Neg(Succ(x0)), Pos(x1))
new_primCmpInt(Pos(Succ(x0)), Neg(x1))
new_primPlusNat0(Succ(x0), Zero)
new_lt23(x0, x1, ty_@0)
new_esEs25(Left(x0), Left(x1), app(ty_Maybe, x2), x3)
new_primEqInt(Pos(Zero), Neg(Zero))
new_primEqInt(Neg(Zero), Pos(Zero))
new_esEs38(x0, x1, app(ty_[], x2))
new_lt20(x0, x1, ty_Ordering)
new_esEs37(x0, x1, app(ty_[], x2))
new_ltEs22(x0, x1, app(ty_Ratio, x2))
new_ltEs24(x0, x1, app(ty_[], x2))
new_ltEs21(x0, x1, ty_Int)
new_ltEs18(x0, x1, app(ty_Ratio, x2))
new_esEs36(x0, x1, ty_@0)
new_compare29(x0, x1, False, x2, x3)
new_lt21(x0, x1, ty_Float)
new_esEs27(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt23(x0, x1, app(app(ty_@2, x2), x3))
new_esEs39(x0, x1, app(ty_Maybe, x2))
new_ltEs16(Left(x0), Left(x1), app(ty_[], x2), x3)
new_esEs39(x0, x1, app(ty_[], x2))
new_esEs9(x0, x1, app(ty_Ratio, x2))
new_esEs25(Left(x0), Right(x1), x2, x3)
new_esEs25(Right(x0), Left(x1), x2, x3)
new_compare16(Just(x0), Just(x1), x2)
new_ltEs22(x0, x1, ty_Double)
new_esEs40(x0, x1, ty_Float)
new_ltEs22(x0, x1, app(ty_[], x2))
new_esEs25(Left(x0), Left(x1), app(app(ty_@2, x2), x3), x4)
new_esEs34(x0, x1, ty_Char)
new_ltEs14(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)
new_lt15(x0, x1)
new_esEs11(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs30(x0, x1, ty_Char)
new_esEs21(Just(x0), Just(x1), app(app(ty_@2, x2), x3))
new_ltEs9(x0, x1, x2)
new_ltEs16(Right(x0), Right(x1), x2, app(app(ty_@2, x3), x4))
new_esEs11(x0, x1, app(app(ty_Either, x2), x3))
new_lt23(x0, x1, ty_Char)
new_esEs39(x0, x1, app(app(ty_@2, x2), x3))
new_esEs38(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs9(x0, x1, ty_Double)
new_lt20(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs24(x0, x1, ty_Char)
new_ltEs22(x0, x1, app(app(ty_@2, x2), x3))
new_compare31(x0, x1, ty_Float)
new_asAs(False, x0)
new_fsEs(x0)
new_esEs10(x0, x1, ty_Float)
new_esEs39(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs18(x0, x1, app(ty_[], x2))
new_compare30(True, False)
new_compare30(False, True)
new_esEs36(x0, x1, app(ty_Ratio, x2))
new_compare10(x0, x1, x2, x3, x4, x5, True, x6, x7, x8)
new_compare28(x0, x1, False, x2, x3)
new_ltEs21(x0, x1, app(app(ty_Either, x2), x3))
new_esEs21(Just(x0), Just(x1), ty_Int)
new_esEs35(x0, x1, ty_Float)
new_ltEs20(x0, x1, app(app(ty_Either, x2), x3))
new_esEs14(:(x0, x1), :(x2, x3), x4)
new_esEs27(x0, x1, ty_@0)
new_esEs25(Right(x0), Right(x1), x2, app(ty_[], x3))
new_esEs14([], [], x0)
new_esEs25(Right(x0), Right(x1), x2, ty_@0)
new_primCmpNat0(Zero, Zero)
new_esEs10(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs37(x0, x1, ty_Double)
new_esEs7(x0, x1, ty_Double)
new_ltEs22(x0, x1, app(ty_Maybe, x2))
new_esEs25(Right(x0), Right(x1), x2, ty_Integer)
new_ltEs23(x0, x1, app(ty_Ratio, x2))
new_ltEs8(Just(x0), Just(x1), ty_Float)
new_ltEs16(Left(x0), Left(x1), ty_@0, x2)
new_esEs31(x0, x1, ty_Integer)
new_compare17(EQ, LT)
new_compare17(LT, EQ)
new_ltEs20(x0, x1, ty_@0)
new_ltEs20(x0, x1, app(ty_Ratio, x2))
new_esEs4(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt10(x0, x1)
new_lt11(x0, x1, app(app(ty_@2, x2), x3))
new_lt23(x0, x1, ty_Ordering)
new_esEs17(:%(x0, x1), :%(x2, x3), x4)
new_esEs38(x0, x1, ty_Bool)
new_ltEs18(x0, x1, ty_Ordering)
new_ltEs20(x0, x1, ty_Double)
new_lt24(x0, x1, app(ty_[], x2))
new_esEs5(x0, x1, ty_Bool)
new_lt21(x0, x1, ty_Integer)
new_esEs7(x0, x1, app(app(ty_Either, x2), x3))
new_esEs41(LT)
new_esEs33(x0, x1, ty_Char)
new_esEs32(x0, x1, app(app(ty_Either, x2), x3))
new_esEs6(x0, x1, ty_Ordering)
new_esEs25(Right(x0), Right(x1), x2, app(app(app(ty_@3, x3), x4), x5))
new_esEs32(x0, x1, app(ty_Maybe, x2))
new_compare31(x0, x1, ty_@0)
new_lt11(x0, x1, app(ty_[], x2))
new_primPlusNat0(Succ(x0), Succ(x1))
new_esEs33(x0, x1, ty_Ordering)
new_compare26(x0, x1, x2, x3, x4, x5, True, x6, x7, x8)
new_lt22(x0, x1, ty_@0)
new_lt20(x0, x1, app(app(ty_Either, x2), x3))
new_compare111(x0, x1, x2, x3, x4, x5, True, x6, x7, x8, x9)
new_lt20(x0, x1, ty_Integer)
new_lt5(x0, x1, x2, x3, x4)
new_esEs5(x0, x1, ty_Ordering)
new_esEs13(EQ, LT)
new_esEs13(LT, EQ)
new_ltEs8(Just(x0), Just(x1), app(app(ty_Either, x2), x3))
new_ltEs19(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs30(x0, x1, app(ty_Maybe, x2))
new_esEs7(x0, x1, app(ty_[], x2))
new_gt(x0, x1, app(ty_Ratio, x2))
new_esEs9(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs16(Right(x0), Right(x1), x2, ty_Char)
new_lt24(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt22(x0, x1, app(app(ty_Either, x2), x3))
new_lt20(x0, x1, ty_Float)
new_lt19(x0, x1, ty_Double)
new_compare6(Float(x0, x1), Float(x2, x3))
new_esEs5(x0, x1, ty_Float)
new_esEs21(Just(x0), Just(x1), ty_Ordering)
new_esEs5(x0, x1, app(ty_Maybe, x2))
new_esEs38(x0, x1, app(ty_Maybe, x2))
new_esEs31(x0, x1, app(ty_Ratio, x2))
new_ltEs5(EQ, EQ)
new_ltEs23(x0, x1, ty_@0)
new_esEs9(x0, x1, ty_Float)
new_esEs10(x0, x1, ty_Integer)
new_compare30(True, True)
new_esEs21(Just(x0), Just(x1), app(ty_[], x2))
new_esEs35(x0, x1, ty_Char)
new_esEs5(x0, x1, ty_Int)
new_esEs33(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs23(x0, x1, ty_Ordering)
new_primMulNat0(Succ(x0), Succ(x1))
new_esEs21(Nothing, Just(x0), x1)
new_esEs9(x0, x1, ty_Int)
new_esEs39(x0, x1, app(ty_Ratio, x2))
new_ltEs22(x0, x1, ty_Integer)
new_esEs34(x0, x1, ty_Ordering)
new_compare14(x0, x1, x2, x3, False, x4, x5)
new_lt22(x0, x1, ty_Char)
new_lt24(x0, x1, ty_Int)
new_esEs6(x0, x1, ty_Bool)
new_esEs30(x0, x1, ty_Double)
new_esEs6(x0, x1, app(ty_[], x2))
new_esEs33(x0, x1, ty_Int)
new_compare31(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs11(x0, x1, ty_Float)
new_esEs36(x0, x1, app(ty_[], x2))
new_esEs21(Just(x0), Just(x1), app(ty_Ratio, x2))
new_ltEs16(Right(x0), Right(x1), x2, ty_Int)
new_ltEs18(x0, x1, ty_Integer)
new_esEs35(x0, x1, app(ty_Maybe, x2))
new_compare28(x0, x1, True, x2, x3)
new_lt20(x0, x1, app(ty_[], x2))
new_esEs31(x0, x1, ty_Double)
new_esEs4(x0, x1, ty_Char)
new_compare27(Left(x0), Left(x1), x2, x3)
new_esEs8(x0, x1, ty_Bool)
new_lt11(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs28(x0, x1, ty_Integer)
new_lt20(x0, x1, ty_Double)
new_esEs8(x0, x1, ty_Int)
new_ltEs24(x0, x1, ty_Ordering)
new_esEs10(x0, x1, ty_Bool)
new_primCmpInt(Pos(Succ(x0)), Pos(x1))
new_lt22(x0, x1, ty_Float)
new_primCompAux00(x0, GT)

We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ HASKELL
  ↳ LR
    ↳ HASKELL
      ↳ CR
        ↳ HASKELL
          ↳ IFR
            ↳ HASKELL
              ↳ BR
                ↳ HASKELL
                  ↳ COR
                    ↳ HASKELL
                      ↳ LetRed
                        ↳ HASKELL
                          ↳ NumRed
                            ↳ HASKELL
                              ↳ Narrow
                                ↳ AND
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
                                  ↳ QDP
QDP
                                    ↳ QDPSizeChangeProof

Q DP problem:
The TRS P consists of the following rules:

new_foldl(xuu3, :(xuu40, xuu41), h, ba) → new_foldl(new_addListToFM_CAdd(xuu3, xuu40, h, ba), xuu41, h, ba)

The TRS R consists of the following rules:

new_esEs7(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_esEs8(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_esEs9(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_esEs38(xuu40002, xuu3002, app(ty_[], ffh)) → new_esEs14(xuu40002, xuu3002, ffh)
new_compare9(@3(xuu4000, xuu4001, xuu4002), @3(xuu300, xuu301, xuu302), bd, be, bf) → new_compare26(xuu4000, xuu4001, xuu4002, xuu300, xuu301, xuu302, new_asAs(new_esEs7(xuu4000, xuu300, bd), new_asAs(new_esEs6(xuu4001, xuu301, be), new_esEs5(xuu4002, xuu302, bf))), bd, be, bf)
new_lt24(xuu400, xuu30, app(ty_Maybe, ca)) → new_lt9(xuu400, xuu30, ca)
new_esEs31(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_esEs7(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_lt9(xuu400, xuu30, ca) → new_esEs12(new_compare16(xuu400, xuu30, ca))
new_ltEs21(xuu77, xuu78, app(ty_[], chb)) → new_ltEs9(xuu77, xuu78, chb)
new_gt(xuu19, xuu14, ty_@0) → new_esEs41(new_compare8(xuu19, xuu14))
new_compare110(xuu165, xuu166, True, cce, ccf) → LT
new_ltEs8(Just(xuu550), Just(xuu560), app(app(ty_Either, ech), eda)) → new_ltEs16(xuu550, xuu560, ech, eda)
new_ltEs16(Right(xuu550), Right(xuu560), da, ty_Float) → new_ltEs6(xuu550, xuu560)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_compare14(xuu195, xuu196, xuu197, xuu198, False, bg, bh) → GT
new_esEs5(xuu4002, xuu302, app(ty_[], df)) → new_esEs14(xuu4002, xuu302, df)
new_lt21(xuu121, xuu123, ty_@0) → new_lt16(xuu121, xuu123)
new_esEs32(xuu109, xuu112, ty_Integer) → new_esEs26(xuu109, xuu112)
new_esEs11(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_lt13(xuu400, xuu30) → new_esEs12(new_compare30(xuu400, xuu30))
new_compare26(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, True, ccg, cch, cda) → EQ
new_esEs32(xuu109, xuu112, app(app(ty_Either, cdg), cdh)) → new_esEs25(xuu109, xuu112, cdg, cdh)
new_esEs30(xuu40001, xuu3001, app(ty_[], bce)) → new_esEs14(xuu40001, xuu3001, bce)
new_lt21(xuu121, xuu123, ty_Ordering) → new_lt10(xuu121, xuu123)
new_ltEs23(xuu122, xuu124, app(app(app(ty_@3, dfb), dfc), dfd)) → new_ltEs14(xuu122, xuu124, dfb, dfc, dfd)
new_compare(:(xuu4000, xuu4001), [], edf) → GT
new_esEs40(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs7(xuu4000, xuu300, app(app(ty_Either, hc), hd)) → new_esEs25(xuu4000, xuu300, hc, hd)
new_esEs11(xuu4000, xuu300, app(ty_Ratio, dde)) → new_esEs17(xuu4000, xuu300, dde)
new_ltEs24(xuu552, xuu562, app(ty_Ratio, feb)) → new_ltEs7(xuu552, xuu562, feb)
new_compare30(False, True) → LT
new_lt14(xuu400, xuu30) → new_esEs12(new_compare19(xuu400, xuu30))
new_lt23(xuu551, xuu561, ty_Ordering) → new_lt10(xuu551, xuu561)
new_lt19(xuu109, xuu112, app(ty_Maybe, cdc)) → new_lt9(xuu109, xuu112, cdc)
new_lt23(xuu551, xuu561, ty_Bool) → new_lt13(xuu551, xuu561)
new_esEs35(xuu40000, xuu3000, app(app(ty_@2, fab), fac)) → new_esEs19(xuu40000, xuu3000, fab, fac)
new_ltEs20(xuu110, xuu113, app(ty_Maybe, cee)) → new_ltEs8(xuu110, xuu113, cee)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Double) → new_esEs16(xuu40000, xuu3000)
new_esEs33(xuu108, xuu111, app(app(app(ty_@3, cfh), cga), cgb)) → new_esEs18(xuu108, xuu111, cfh, cga, cgb)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Integer, bfa) → new_esEs26(xuu40000, xuu3000)
new_esEs32(xuu109, xuu112, ty_Float) → new_esEs20(xuu109, xuu112)
new_lt21(xuu121, xuu123, ty_Float) → new_lt7(xuu121, xuu123)
new_esEs34(xuu121, xuu123, app(ty_Maybe, dgc)) → new_esEs21(xuu121, xuu123, dgc)
new_lt23(xuu551, xuu561, ty_Integer) → new_lt6(xuu551, xuu561)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Float, db) → new_ltEs6(xuu550, xuu560)
new_ltEs18(xuu55, xuu56, app(ty_[], cc)) → new_ltEs9(xuu55, xuu56, cc)
new_esEs31(xuu40000, xuu3000, app(app(ty_@2, bed), bee)) → new_esEs19(xuu40000, xuu3000, bed, bee)
new_esEs5(xuu4002, xuu302, app(ty_Ratio, dg)) → new_esEs17(xuu4002, xuu302, dg)
new_lt21(xuu121, xuu123, app(ty_Ratio, dha)) → new_lt8(xuu121, xuu123, dha)
new_esEs4(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_esEs36(xuu551, xuu561, ty_Char) → new_esEs23(xuu551, xuu561)
new_esEs6(xuu4001, xuu301, ty_Int) → new_esEs24(xuu4001, xuu301)
new_lt23(xuu551, xuu561, app(ty_Ratio, fch)) → new_lt8(xuu551, xuu561, fch)
new_lt22(xuu550, xuu560, app(app(app(ty_@3, fba), fbb), fbc)) → new_lt5(xuu550, xuu560, fba, fbb, fbc)
new_esEs7(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_ltEs20(xuu110, xuu113, app(ty_[], ced)) → new_ltEs9(xuu110, xuu113, ced)
new_esEs8(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_lt22(xuu550, xuu560, app(ty_Ratio, fbf)) → new_lt8(xuu550, xuu560, fbf)
new_ltEs5(EQ, LT) → False
new_ltEs18(xuu55, xuu56, app(ty_Ratio, dc)) → new_ltEs7(xuu55, xuu56, dc)
new_esEs33(xuu108, xuu111, ty_Integer) → new_esEs26(xuu108, xuu111)
new_mkBalBranch6MkBalBranch4(Branch(xuu180, xuu181, xuu182, xuu183, xuu184), xuu14, xuu15, xuu39, True, bb, bc) → new_mkBalBranch6MkBalBranch01(xuu180, xuu181, xuu182, xuu183, xuu184, xuu14, xuu15, xuu39, new_lt15(new_sizeFM(xuu183, bb, bc), new_sr(Pos(Succ(Succ(Zero))), new_sizeFM(xuu184, bb, bc))), bb, bc)
new_ltEs10(False, False) → True
new_pePe(False, xuu211) → xuu211
new_esEs13(EQ, LT) → False
new_esEs13(LT, EQ) → False
new_gt(xuu19, xuu14, app(ty_Maybe, eae)) → new_esEs41(new_compare16(xuu19, xuu14, eae))
new_esEs39(xuu40001, xuu3001, app(ty_Maybe, gaa)) → new_esEs21(xuu40001, xuu3001, gaa)
new_esEs15(True, False) → False
new_esEs15(False, True) → False
new_ltEs8(Just(xuu550), Just(xuu560), app(app(ty_@2, edc), edd)) → new_ltEs17(xuu550, xuu560, edc, edd)
new_lt21(xuu121, xuu123, ty_Bool) → new_lt13(xuu121, xuu123)
new_lt19(xuu109, xuu112, ty_Integer) → new_lt6(xuu109, xuu112)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Char, db) → new_ltEs12(xuu550, xuu560)
new_lt21(xuu121, xuu123, app(app(app(ty_@3, dgd), dge), dgf)) → new_lt5(xuu121, xuu123, dgd, dge, dgf)
new_esEs6(xuu4001, xuu301, ty_Char) → new_esEs23(xuu4001, xuu301)
new_esEs30(xuu40001, xuu3001, ty_@0) → new_esEs22(xuu40001, xuu3001)
new_esEs30(xuu40001, xuu3001, ty_Bool) → new_esEs15(xuu40001, xuu3001)
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(app(ty_@3, bfd), bfe), bff), bfa) → new_esEs18(xuu40000, xuu3000, bfd, bfe, bff)
new_esEs34(xuu121, xuu123, app(ty_Ratio, dha)) → new_esEs17(xuu121, xuu123, dha)
new_esEs38(xuu40002, xuu3002, app(app(ty_Either, fgh), fha)) → new_esEs25(xuu40002, xuu3002, fgh, fha)
new_esEs31(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs12(GT) → False
new_esEs6(xuu4001, xuu301, app(app(ty_@2, ff), fg)) → new_esEs19(xuu4001, xuu301, ff, fg)
new_esEs35(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_addToFM_C20(xuu14, xuu15, xuu16, xuu17, xuu18, xuu19, xuu20, True, bb, bc) → new_mkBalBranch(xuu14, xuu15, new_addToFM_C0(xuu17, xuu19, xuu20, bb, bc), xuu18, bb, bc)
new_ltEs4(xuu55, xuu56) → new_fsEs(new_compare8(xuu55, xuu56))
new_addToFM_C0(Branch(xuu30, xuu31, xuu32, xuu33, xuu34), xuu400, xuu401, h, ba) → new_addToFM_C20(xuu30, xuu31, xuu32, xuu33, xuu34, xuu400, xuu401, new_lt24(xuu400, xuu30, h), h, ba)
new_ltEs18(xuu55, xuu56, ty_@0) → new_ltEs4(xuu55, xuu56)
new_esEs7(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_compare6(Float(xuu4000, xuu4001), Float(xuu300, xuu301)) → new_compare7(new_sr(xuu4000, xuu300), new_sr(xuu4001, xuu301))
new_esEs11(xuu4000, xuu300, app(app(ty_Either, ded), dee)) → new_esEs25(xuu4000, xuu300, ded, dee)
new_esEs36(xuu551, xuu561, app(app(app(ty_@3, fcc), fcd), fce)) → new_esEs18(xuu551, xuu561, fcc, fcd, fce)
new_lt11(xuu550, xuu560, app(app(ty_Either, bab), bac)) → new_lt18(xuu550, xuu560, bab, bac)
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_Maybe, ffd)) → new_esEs21(xuu40000, xuu3000, ffd)
new_esEs21(Nothing, Nothing, eac) → True
new_esEs27(xuu550, xuu560, ty_Ordering) → new_esEs13(xuu550, xuu560)
new_gt(xuu19, xuu14, ty_Double) → new_esEs41(new_compare12(xuu19, xuu14))
new_esEs11(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_pePe(True, xuu211) → True
new_primEqNat0(Zero, Zero) → True
new_ltEs16(Left(xuu550), Left(xuu560), ty_Bool, db) → new_ltEs10(xuu550, xuu560)
new_lt22(xuu550, xuu560, app(ty_Maybe, fah)) → new_lt9(xuu550, xuu560, fah)
new_esEs5(xuu4002, xuu302, ty_Integer) → new_esEs26(xuu4002, xuu302)
new_ltEs20(xuu110, xuu113, ty_Bool) → new_ltEs10(xuu110, xuu113)
new_esEs13(GT, LT) → False
new_esEs13(LT, GT) → False
new_gt(xuu19, xuu14, ty_Bool) → new_esEs41(new_compare30(xuu19, xuu14))
new_esEs12(EQ) → False
new_lt20(xuu108, xuu111, app(ty_Ratio, cge)) → new_lt8(xuu108, xuu111, cge)
new_lt11(xuu550, xuu560, app(ty_Maybe, hf)) → new_lt9(xuu550, xuu560, hf)
new_esEs10(xuu4001, xuu301, ty_Int) → new_esEs24(xuu4001, xuu301)
new_esEs39(xuu40001, xuu3001, ty_Ordering) → new_esEs13(xuu40001, xuu3001)
new_compare31(xuu4000, xuu300, ty_Bool) → new_compare30(xuu4000, xuu300)
new_esEs6(xuu4001, xuu301, app(ty_[], eh)) → new_esEs14(xuu4001, xuu301, eh)
new_ltEs23(xuu122, xuu124, app(ty_Ratio, dfg)) → new_ltEs7(xuu122, xuu124, dfg)
new_esEs9(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_ltEs21(xuu77, xuu78, ty_Bool) → new_ltEs10(xuu77, xuu78)
new_compare110(xuu165, xuu166, False, cce, ccf) → GT
new_lt23(xuu551, xuu561, ty_@0) → new_lt16(xuu551, xuu561)
new_esEs37(xuu550, xuu560, app(ty_Maybe, fah)) → new_esEs21(xuu550, xuu560, fah)
new_ltEs20(xuu110, xuu113, app(app(app(ty_@3, cef), ceg), ceh)) → new_ltEs14(xuu110, xuu113, cef, ceg, ceh)
new_esEs36(xuu551, xuu561, ty_Integer) → new_esEs26(xuu551, xuu561)
new_lt11(xuu550, xuu560, app(ty_Ratio, bad)) → new_lt8(xuu550, xuu560, bad)
new_ltEs22(xuu84, xuu85, ty_Integer) → new_ltEs11(xuu84, xuu85)
new_esEs7(xuu4000, xuu300, app(ty_Maybe, hb)) → new_esEs21(xuu4000, xuu300, hb)
new_lt24(xuu400, xuu30, ty_Char) → new_lt14(xuu400, xuu30)
new_esEs39(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_ltEs16(Right(xuu550), Right(xuu560), da, app(ty_Maybe, efb)) → new_ltEs8(xuu550, xuu560, efb)
new_esEs39(xuu40001, xuu3001, app(ty_Ratio, fhc)) → new_esEs17(xuu40001, xuu3001, fhc)
new_ltEs5(LT, LT) → True
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, app(ty_[], bge)) → new_esEs14(xuu40000, xuu3000, bge)
new_esEs11(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_lt22(xuu550, xuu560, ty_Double) → new_lt17(xuu550, xuu560)
new_esEs27(xuu550, xuu560, app(app(app(ty_@3, hg), hh), baa)) → new_esEs18(xuu550, xuu560, hg, hh, baa)
new_esEs27(xuu550, xuu560, ty_Int) → new_esEs24(xuu550, xuu560)
new_esEs28(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_primEqInt(Neg(Succ(xuu400000)), Neg(Succ(xuu30000))) → new_primEqNat0(xuu400000, xuu30000)
new_ltEs20(xuu110, xuu113, ty_Integer) → new_ltEs11(xuu110, xuu113)
new_compare15(:%(xuu4000, xuu4001), :%(xuu300, xuu301), ty_Integer) → new_compare11(new_sr0(xuu4000, xuu301), new_sr0(xuu300, xuu4001))
new_ltEs16(Right(xuu550), Right(xuu560), da, ty_Char) → new_ltEs12(xuu550, xuu560)
new_ltEs22(xuu84, xuu85, app(ty_Ratio, dbe)) → new_ltEs7(xuu84, xuu85, dbe)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_[], ecc)) → new_ltEs9(xuu550, xuu560, ecc)
new_ltEs22(xuu84, xuu85, app(app(ty_Either, dbc), dbd)) → new_ltEs16(xuu84, xuu85, dbc, dbd)
new_esEs14(:(xuu40000, xuu40001), :(xuu3000, xuu3001), dhf) → new_asAs(new_esEs35(xuu40000, xuu3000, dhf), new_esEs14(xuu40001, xuu3001, dhf))
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_[], fee)) → new_esEs14(xuu40000, xuu3000, fee)
new_ltEs16(Right(xuu550), Right(xuu560), da, ty_Ordering) → new_ltEs5(xuu550, xuu560)
new_lt19(xuu109, xuu112, ty_Char) → new_lt14(xuu109, xuu112)
new_mkBalBranch6MkBalBranch4(xuu18, xuu14, xuu15, xuu39, False, bb, bc) → new_mkBalBranch6MkBalBranch3(xuu18, xuu14, xuu15, xuu39, new_gt0(new_mkBalBranch6Size_l(xuu18, xuu14, xuu15, xuu39, bb, bc), new_sr(new_sIZE_RATIO, new_mkBalBranch6Size_r(xuu18, xuu14, xuu15, xuu39, bb, bc))), bb, bc)
new_esEs9(xuu4000, xuu300, app(ty_[], cbc)) → new_esEs14(xuu4000, xuu300, cbc)
new_lt22(xuu550, xuu560, app(app(ty_@2, fbg), fbh)) → new_lt4(xuu550, xuu560, fbg, fbh)
new_primEqInt(Neg(Zero), Neg(Zero)) → True
new_esEs10(xuu4001, xuu301, app(ty_Maybe, dda)) → new_esEs21(xuu4001, xuu301, dda)
new_esEs40(xuu40000, xuu3000, app(ty_Ratio, gae)) → new_esEs17(xuu40000, xuu3000, gae)
new_mkBalBranch6MkBalBranch3(xuu18, xuu14, xuu15, Branch(xuu390, xuu391, xuu392, xuu393, xuu394), True, bb, bc) → new_mkBalBranch6MkBalBranch11(xuu18, xuu14, xuu15, xuu390, xuu391, xuu392, xuu393, xuu394, new_lt15(new_sizeFM(xuu394, bb, bc), new_sr(Pos(Succ(Succ(Zero))), new_sizeFM(xuu393, bb, bc))), bb, bc)
new_compare31(xuu4000, xuu300, ty_Integer) → new_compare11(xuu4000, xuu300)
new_esEs30(xuu40001, xuu3001, app(app(ty_@2, bdb), bdc)) → new_esEs19(xuu40001, xuu3001, bdb, bdc)
new_esEs9(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_esEs8(xuu4000, xuu300, app(app(ty_@2, caf), cag)) → new_esEs19(xuu4000, xuu300, caf, cag)
new_ltEs21(xuu77, xuu78, app(ty_Ratio, daa)) → new_ltEs7(xuu77, xuu78, daa)
new_lt10(xuu400, xuu30) → new_esEs12(new_compare17(xuu400, xuu30))
new_esEs10(xuu4001, xuu301, ty_Ordering) → new_esEs13(xuu4001, xuu301)
new_ltEs16(Right(xuu550), Right(xuu560), da, app(app(ty_Either, eff), efg)) → new_ltEs16(xuu550, xuu560, eff, efg)
new_compare([], [], edf) → EQ
new_lt11(xuu550, xuu560, ty_Bool) → new_lt13(xuu550, xuu560)
new_primCmpInt(Neg(Zero), Pos(Zero)) → EQ
new_primCmpInt(Pos(Zero), Neg(Zero)) → EQ
new_lt4(xuu400, xuu30, dbh, dca) → new_esEs12(new_compare5(xuu400, xuu30, dbh, dca))
new_esEs35(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_compare16(Nothing, Just(xuu300), ca) → LT
new_esEs8(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_primEqInt(Pos(Succ(xuu400000)), Pos(Succ(xuu30000))) → new_primEqNat0(xuu400000, xuu30000)
new_esEs30(xuu40001, xuu3001, ty_Float) → new_esEs20(xuu40001, xuu3001)
new_lt20(xuu108, xuu111, app(ty_[], cff)) → new_lt12(xuu108, xuu111, cff)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, app(ty_Ratio, bgf)) → new_esEs17(xuu40000, xuu3000, bgf)
new_esEs34(xuu121, xuu123, ty_Int) → new_esEs24(xuu121, xuu123)
new_compare28(xuu77, xuu78, False, cgh, cha) → new_compare112(xuu77, xuu78, new_ltEs21(xuu77, xuu78, cgh), cgh, cha)
new_lt24(xuu400, xuu30, app(ty_[], edf)) → new_lt12(xuu400, xuu30, edf)
new_primEqNat0(Succ(xuu400000), Succ(xuu30000)) → new_primEqNat0(xuu400000, xuu30000)
new_esEs33(xuu108, xuu111, app(ty_[], cff)) → new_esEs14(xuu108, xuu111, cff)
new_lt21(xuu121, xuu123, ty_Int) → new_lt15(xuu121, xuu123)
new_ltEs18(xuu55, xuu56, ty_Float) → new_ltEs6(xuu55, xuu56)
new_primCmpInt(Neg(Succ(xuu40000)), Neg(xuu300)) → new_primCmpNat0(xuu300, Succ(xuu40000))
new_ltEs8(Just(xuu550), Nothing, cd) → False
new_ltEs16(Left(xuu550), Left(xuu560), ty_Double, db) → new_ltEs15(xuu550, xuu560)
new_addListToFM_CAdd(xuu3, @2(xuu400, xuu401), h, ba) → new_addToFM_C0(xuu3, xuu400, xuu401, h, ba)
new_lt21(xuu121, xuu123, app(ty_Maybe, dgc)) → new_lt9(xuu121, xuu123, dgc)
new_compare19(Char(xuu4000), Char(xuu300)) → new_primCmpNat0(xuu4000, xuu300)
new_esEs34(xuu121, xuu123, ty_Double) → new_esEs16(xuu121, xuu123)
new_esEs30(xuu40001, xuu3001, ty_Ordering) → new_esEs13(xuu40001, xuu3001)
new_esEs30(xuu40001, xuu3001, app(app(app(ty_@3, bcg), bch), bda)) → new_esEs18(xuu40001, xuu3001, bcg, bch, bda)
new_compare30(False, False) → EQ
new_ltEs22(xuu84, xuu85, ty_Float) → new_ltEs6(xuu84, xuu85)
new_lt24(xuu400, xuu30, ty_@0) → new_lt16(xuu400, xuu30)
new_ltEs9(xuu55, xuu56, cc) → new_fsEs(new_compare(xuu55, xuu56, cc))
new_esEs29(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_compare27(Left(xuu4000), Right(xuu300), bhg, bhh) → LT
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Float, bfa) → new_esEs20(xuu40000, xuu3000)
new_esEs5(xuu4002, xuu302, app(app(ty_Either, ef), eg)) → new_esEs25(xuu4002, xuu302, ef, eg)
new_ltEs23(xuu122, xuu124, ty_Integer) → new_ltEs11(xuu122, xuu124)
new_gt(xuu19, xuu14, app(app(app(ty_@3, eaf), eag), eah)) → new_esEs41(new_compare9(xuu19, xuu14, eaf, eag, eah))
new_lt22(xuu550, xuu560, ty_Bool) → new_lt13(xuu550, xuu560)
new_esEs29(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs26(Integer(xuu40000), Integer(xuu3000)) → new_primEqInt(xuu40000, xuu3000)
new_esEs7(xuu4000, xuu300, app(app(ty_@2, gh), ha)) → new_esEs19(xuu4000, xuu300, gh, ha)
new_ltEs15(xuu55, xuu56) → new_fsEs(new_compare12(xuu55, xuu56))
new_esEs36(xuu551, xuu561, ty_Ordering) → new_esEs13(xuu551, xuu561)
new_esEs32(xuu109, xuu112, app(ty_Maybe, cdc)) → new_esEs21(xuu109, xuu112, cdc)
new_lt19(xuu109, xuu112, app(app(app(ty_@3, cdd), cde), cdf)) → new_lt5(xuu109, xuu112, cdd, cde, cdf)
new_esEs39(xuu40001, xuu3001, ty_Float) → new_esEs20(xuu40001, xuu3001)
new_esEs37(xuu550, xuu560, ty_Double) → new_esEs16(xuu550, xuu560)
new_esEs34(xuu121, xuu123, ty_Float) → new_esEs20(xuu121, xuu123)
new_esEs8(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_esEs35(xuu40000, xuu3000, app(ty_Ratio, ehf)) → new_esEs17(xuu40000, xuu3000, ehf)
new_primEqInt(Pos(Zero), Neg(Succ(xuu30000))) → False
new_primEqInt(Neg(Zero), Pos(Succ(xuu30000))) → False
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_esEs30(xuu40001, xuu3001, app(ty_Maybe, bdd)) → new_esEs21(xuu40001, xuu3001, bdd)
new_esEs30(xuu40001, xuu3001, app(ty_Ratio, bcf)) → new_esEs17(xuu40001, xuu3001, bcf)
new_ltEs20(xuu110, xuu113, ty_Float) → new_ltEs6(xuu110, xuu113)
new_primCmpInt(Pos(Zero), Pos(Succ(xuu3000))) → new_primCmpNat0(Zero, Succ(xuu3000))
new_primCompAux00(xuu49, EQ) → xuu49
new_esEs37(xuu550, xuu560, ty_Bool) → new_esEs15(xuu550, xuu560)
new_compare17(EQ, LT) → GT
new_esEs6(xuu4001, xuu301, app(ty_Maybe, fh)) → new_esEs21(xuu4001, xuu301, fh)
new_ltEs23(xuu122, xuu124, ty_Int) → new_ltEs13(xuu122, xuu124)
new_ltEs24(xuu552, xuu562, app(ty_Maybe, fdd)) → new_ltEs8(xuu552, xuu562, fdd)
new_lt20(xuu108, xuu111, ty_Bool) → new_lt13(xuu108, xuu111)
new_ltEs20(xuu110, xuu113, ty_Int) → new_ltEs13(xuu110, xuu113)
new_ltEs16(Right(xuu550), Right(xuu560), da, ty_@0) → new_ltEs4(xuu550, xuu560)
new_esEs6(xuu4001, xuu301, ty_Double) → new_esEs16(xuu4001, xuu301)
new_mkBalBranch6MkBalBranch11(xuu18, xuu14, xuu15, xuu390, xuu391, xuu392, xuu393, xuu394, True, bb, bc) → new_mkBranch(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Zero))))))), xuu390, xuu391, xuu393, Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Zero)))))))), xuu14, xuu15, xuu394, xuu18, bb, bc)
new_esEs25(Left(xuu40000), Right(xuu3000), bgd, bfa) → False
new_esEs25(Right(xuu40000), Left(xuu3000), bgd, bfa) → False
new_esEs27(xuu550, xuu560, ty_Double) → new_esEs16(xuu550, xuu560)
new_emptyFM(h, ba) → EmptyFM
new_ltEs22(xuu84, xuu85, ty_Int) → new_ltEs13(xuu84, xuu85)
new_lt20(xuu108, xuu111, ty_@0) → new_lt16(xuu108, xuu111)
new_gt(xuu19, xuu14, ty_Char) → new_esEs41(new_compare19(xuu19, xuu14))
new_not(False) → True
new_esEs32(xuu109, xuu112, app(app(ty_@2, ceb), cec)) → new_esEs19(xuu109, xuu112, ceb, cec)
new_esEs38(xuu40002, xuu3002, ty_Char) → new_esEs23(xuu40002, xuu3002)
new_lt22(xuu550, xuu560, ty_Integer) → new_lt6(xuu550, xuu560)
new_gt0(xuu19, xuu14) → new_esEs41(new_compare7(xuu19, xuu14))
new_ltEs13(xuu55, xuu56) → new_fsEs(new_compare7(xuu55, xuu56))
new_lt19(xuu109, xuu112, ty_Int) → new_lt15(xuu109, xuu112)
new_esEs36(xuu551, xuu561, ty_Float) → new_esEs20(xuu551, xuu561)
new_ltEs23(xuu122, xuu124, app(ty_[], deh)) → new_ltEs9(xuu122, xuu124, deh)
new_ltEs16(Left(xuu550), Right(xuu560), da, db) → True
new_gt(xuu19, xuu14, app(app(ty_Either, eba), ebb)) → new_esEs41(new_compare27(xuu19, xuu14, eba, ebb))
new_lt15(xuu400, xuu30) → new_esEs12(new_compare7(xuu400, xuu30))
new_lt19(xuu109, xuu112, ty_Float) → new_lt7(xuu109, xuu112)
new_ltEs21(xuu77, xuu78, ty_Char) → new_ltEs12(xuu77, xuu78)
new_ltEs23(xuu122, xuu124, ty_Float) → new_ltEs6(xuu122, xuu124)
new_esEs11(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_esEs37(xuu550, xuu560, app(app(app(ty_@3, fba), fbb), fbc)) → new_esEs18(xuu550, xuu560, fba, fbb, fbc)
new_esEs10(xuu4001, xuu301, ty_Bool) → new_esEs15(xuu4001, xuu301)
new_mkBalBranch6Size_r(xuu18, xuu14, xuu15, xuu39, bb, bc) → new_sizeFM(xuu18, bb, bc)
new_esEs38(xuu40002, xuu3002, app(app(app(ty_@3, fgb), fgc), fgd)) → new_esEs18(xuu40002, xuu3002, fgb, fgc, fgd)
new_esEs31(xuu40000, xuu3000, app(app(app(ty_@3, bea), beb), bec)) → new_esEs18(xuu40000, xuu3000, bea, beb, bec)
new_esEs28(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_esEs5(xuu4002, xuu302, ty_Char) → new_esEs23(xuu4002, xuu302)
new_gt(xuu19, xuu14, ty_Ordering) → new_esEs41(new_compare17(xuu19, xuu14))
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_compare16(Nothing, Nothing, ca) → EQ
new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, False, ebh, eca, ecb) → GT
new_esEs39(xuu40001, xuu3001, app(app(app(ty_@3, fhd), fhe), fhf)) → new_esEs18(xuu40001, xuu3001, fhd, fhe, fhf)
new_esEs8(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_lt24(xuu400, xuu30, ty_Ordering) → new_lt10(xuu400, xuu30)
new_esEs30(xuu40001, xuu3001, ty_Char) → new_esEs23(xuu40001, xuu3001)
new_esEs32(xuu109, xuu112, app(app(app(ty_@3, cdd), cde), cdf)) → new_esEs18(xuu109, xuu112, cdd, cde, cdf)
new_esEs11(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_lt16(xuu400, xuu30) → new_esEs12(new_compare8(xuu400, xuu30))
new_primMulInt(Neg(xuu40010), Neg(xuu3010)) → Pos(new_primMulNat0(xuu40010, xuu3010))
new_ltEs19(xuu551, xuu561, app(ty_Maybe, bah)) → new_ltEs8(xuu551, xuu561, bah)
new_esEs13(GT, GT) → True
new_esEs4(xuu4000, xuu300, app(app(app(ty_@3, dhh), eaa), eab)) → new_esEs18(xuu4000, xuu300, dhh, eaa, eab)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Ordering, db) → new_ltEs5(xuu550, xuu560)
new_primEqNat0(Zero, Succ(xuu30000)) → False
new_primEqNat0(Succ(xuu400000), Zero) → False
new_esEs7(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_ltEs19(xuu551, xuu561, app(app(app(ty_@3, bba), bbb), bbc)) → new_ltEs14(xuu551, xuu561, bba, bbb, bbc)
new_esEs5(xuu4002, xuu302, ty_@0) → new_esEs22(xuu4002, xuu302)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Bool, bfa) → new_esEs15(xuu40000, xuu3000)
new_lt20(xuu108, xuu111, app(app(ty_Either, cgc), cgd)) → new_lt18(xuu108, xuu111, cgc, cgd)
new_lt17(xuu400, xuu30) → new_esEs12(new_compare12(xuu400, xuu30))
new_ltEs21(xuu77, xuu78, ty_Float) → new_ltEs6(xuu77, xuu78)
new_esEs21(Just(xuu40000), Just(xuu3000), app(ty_Ratio, fef)) → new_esEs17(xuu40000, xuu3000, fef)
new_mkBalBranch6MkBalBranch01(xuu180, xuu181, xuu182, xuu183, xuu184, xuu14, xuu15, xuu39, True, bb, bc) → new_mkBranchResult(xuu180, xuu181, xuu184, new_mkBranchResult(xuu14, xuu15, xuu183, xuu39, bb, bc), bb, bc)
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(ty_Either, ffe), fff)) → new_esEs25(xuu40000, xuu3000, ffe, fff)
new_esEs11(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_esEs5(xuu4002, xuu302, ty_Ordering) → new_esEs13(xuu4002, xuu302)
new_esEs33(xuu108, xuu111, ty_Double) → new_esEs16(xuu108, xuu111)
new_sizeFM(Branch(xuu180, xuu181, xuu182, xuu183, xuu184), bb, bc) → xuu182
new_lt21(xuu121, xuu123, ty_Integer) → new_lt6(xuu121, xuu123)
new_ltEs23(xuu122, xuu124, ty_Double) → new_ltEs15(xuu122, xuu124)
new_ltEs19(xuu551, xuu561, ty_Bool) → new_ltEs10(xuu551, xuu561)
new_esEs35(xuu40000, xuu3000, app(app(app(ty_@3, ehg), ehh), faa)) → new_esEs18(xuu40000, xuu3000, ehg, ehh, faa)
new_lt24(xuu400, xuu30, ty_Bool) → new_lt13(xuu400, xuu30)
new_compare17(EQ, GT) → LT
new_esEs31(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_primMinusNat0(Zero, Zero) → Pos(Zero)
new_ltEs21(xuu77, xuu78, app(ty_Maybe, chc)) → new_ltEs8(xuu77, xuu78, chc)
new_primCmpInt(Pos(Zero), Neg(Succ(xuu3000))) → GT
new_lt20(xuu108, xuu111, app(ty_Maybe, cfg)) → new_lt9(xuu108, xuu111, cfg)
new_compare31(xuu4000, xuu300, app(ty_[], egc)) → new_compare(xuu4000, xuu300, egc)
new_sIZE_RATIOPos(Succ(Succ(Succ(Succ(Succ(Zero))))))
new_compare30(True, False) → GT
new_mkBalBranch6MkBalBranch4(EmptyFM, xuu14, xuu15, xuu39, True, bb, bc) → error([])
new_esEs5(xuu4002, xuu302, app(app(ty_@2, ec), ed)) → new_esEs19(xuu4002, xuu302, ec, ed)
new_esEs4(xuu4000, xuu300, app(ty_Ratio, dhg)) → new_esEs17(xuu4000, xuu300, dhg)
new_esEs9(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_lt20(xuu108, xuu111, ty_Float) → new_lt7(xuu108, xuu111)
new_ltEs19(xuu551, xuu561, ty_Integer) → new_ltEs11(xuu551, xuu561)
new_esEs5(xuu4002, xuu302, ty_Int) → new_esEs24(xuu4002, xuu302)
new_primPlusInt(Pos(xuu3920), Pos(xuu1340)) → Pos(new_primPlusNat0(xuu3920, xuu1340))
new_esEs33(xuu108, xuu111, app(app(ty_Either, cgc), cgd)) → new_esEs25(xuu108, xuu111, cgc, cgd)
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_Maybe, edh), db) → new_ltEs8(xuu550, xuu560, edh)
new_mkBalBranch6MkBalBranch11(xuu18, xuu14, xuu15, xuu390, xuu391, xuu392, xuu393, Branch(xuu3940, xuu3941, xuu3942, xuu3943, xuu3944), False, bb, bc) → new_mkBranch(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Zero))))))))), xuu3940, xuu3941, new_mkBranch0(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Zero)))))))))), xuu390, xuu391, xuu393, xuu3943, bb, bc), Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Succ(Zero))))))))))), xuu14, xuu15, xuu3944, xuu18, bb, bc)
new_compare14(xuu195, xuu196, xuu197, xuu198, True, bg, bh) → LT
new_esEs33(xuu108, xuu111, ty_Char) → new_esEs23(xuu108, xuu111)
new_ltEs24(xuu552, xuu562, ty_Float) → new_ltEs6(xuu552, xuu562)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_Ratio, bfc), bfa) → new_esEs17(xuu40000, xuu3000, bfc)
new_esEs40(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_primCmpInt(Neg(Zero), Neg(Zero)) → EQ
new_compare13(xuu195, xuu196, xuu197, xuu198, True, xuu200, bg, bh) → new_compare14(xuu195, xuu196, xuu197, xuu198, True, bg, bh)
new_esEs9(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_esEs11(xuu4000, xuu300, app(ty_[], ddd)) → new_esEs14(xuu4000, xuu300, ddd)
new_compare31(xuu4000, xuu300, app(ty_Maybe, egd)) → new_compare16(xuu4000, xuu300, egd)
new_lt19(xuu109, xuu112, ty_Bool) → new_lt13(xuu109, xuu112)
new_ltEs6(xuu55, xuu56) → new_fsEs(new_compare6(xuu55, xuu56))
new_ltEs10(True, False) → False
new_asAs(False, xuu153) → False
new_gt(xuu19, xuu14, ty_Float) → new_esEs41(new_compare6(xuu19, xuu14))
new_compare27(Right(xuu4000), Left(xuu300), bhg, bhh) → GT
new_primMulInt(Neg(xuu40010), Pos(xuu3010)) → Neg(new_primMulNat0(xuu40010, xuu3010))
new_primMulInt(Pos(xuu40010), Neg(xuu3010)) → Neg(new_primMulNat0(xuu40010, xuu3010))
new_esEs36(xuu551, xuu561, app(ty_Maybe, fcb)) → new_esEs21(xuu551, xuu561, fcb)
new_esEs32(xuu109, xuu112, ty_Int) → new_esEs24(xuu109, xuu112)
new_lt24(xuu400, xuu30, ty_Double) → new_lt17(xuu400, xuu30)
new_fsEs(xuu206) → new_not(new_esEs13(xuu206, GT))
new_esEs4(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_esEs21(Just(xuu40000), Nothing, eac) → False
new_esEs21(Nothing, Just(xuu3000), eac) → False
new_esEs36(xuu551, xuu561, ty_Bool) → new_esEs15(xuu551, xuu561)
new_esEs7(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_compare31(xuu4000, xuu300, ty_Double) → new_compare12(xuu4000, xuu300)
new_compare31(xuu4000, xuu300, app(app(ty_@2, ehc), ehd)) → new_compare5(xuu4000, xuu300, ehc, ehd)
new_esEs39(xuu40001, xuu3001, app(app(ty_Either, gab), gac)) → new_esEs25(xuu40001, xuu3001, gab, gac)
new_compare11(Integer(xuu4000), Integer(xuu300)) → new_primCmpInt(xuu4000, xuu300)
new_esEs40(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_ltEs21(xuu77, xuu78, ty_Double) → new_ltEs15(xuu77, xuu78)
new_esEs36(xuu551, xuu561, app(ty_[], fca)) → new_esEs14(xuu551, xuu561, fca)
new_esEs6(xuu4001, xuu301, app(ty_Ratio, fa)) → new_esEs17(xuu4001, xuu301, fa)
new_ltEs24(xuu552, xuu562, app(ty_[], fdc)) → new_ltEs9(xuu552, xuu562, fdc)
new_esEs7(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_esEs33(xuu108, xuu111, ty_@0) → new_esEs22(xuu108, xuu111)
new_compare30(True, True) → EQ
new_esEs18(@3(xuu40000, xuu40001, xuu40002), @3(xuu3000, xuu3001, xuu3002), dhh, eaa, eab) → new_asAs(new_esEs40(xuu40000, xuu3000, dhh), new_asAs(new_esEs39(xuu40001, xuu3001, eaa), new_esEs38(xuu40002, xuu3002, eab)))
new_ltEs23(xuu122, xuu124, ty_Char) → new_ltEs12(xuu122, xuu124)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Float) → new_esEs20(xuu40000, xuu3000)
new_ltEs18(xuu55, xuu56, app(app(ty_Either, da), db)) → new_ltEs16(xuu55, xuu56, da, db)
new_compare18(xuu144, xuu145, False, ffg) → GT
new_esEs34(xuu121, xuu123, ty_Integer) → new_esEs26(xuu121, xuu123)
new_esEs34(xuu121, xuu123, ty_Ordering) → new_esEs13(xuu121, xuu123)
new_esEs39(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_esEs37(xuu550, xuu560, app(ty_[], fag)) → new_esEs14(xuu550, xuu560, fag)
new_lt23(xuu551, xuu561, app(app(app(ty_@3, fcc), fcd), fce)) → new_lt5(xuu551, xuu561, fcc, fcd, fce)
new_lt23(xuu551, xuu561, app(app(ty_@2, fda), fdb)) → new_lt4(xuu551, xuu561, fda, fdb)
new_esEs39(xuu40001, xuu3001, ty_Char) → new_esEs23(xuu40001, xuu3001)
new_esEs41(GT) → True
new_esEs9(xuu4000, xuu300, app(ty_Maybe, ccb)) → new_esEs21(xuu4000, xuu300, ccb)
new_esEs10(xuu4001, xuu301, app(ty_Ratio, dcc)) → new_esEs17(xuu4001, xuu301, dcc)
new_esEs11(xuu4000, xuu300, app(app(ty_@2, dea), deb)) → new_esEs19(xuu4000, xuu300, dea, deb)
new_esEs4(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_esEs37(xuu550, xuu560, ty_Char) → new_esEs23(xuu550, xuu560)
new_compare25(xuu55, xuu56, False, cb) → new_compare18(xuu55, xuu56, new_ltEs18(xuu55, xuu56, cb), cb)
new_compare27(Right(xuu4000), Right(xuu300), bhg, bhh) → new_compare29(xuu4000, xuu300, new_esEs9(xuu4000, xuu300, bhh), bhg, bhh)
new_esEs33(xuu108, xuu111, ty_Int) → new_esEs24(xuu108, xuu111)
new_esEs40(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_lt21(xuu121, xuu123, app(app(ty_@2, dhb), dhc)) → new_lt4(xuu121, xuu123, dhb, dhc)
new_lt24(xuu400, xuu30, ty_Int) → new_lt15(xuu400, xuu30)
new_mkBranch(xuu239, xuu240, xuu241, xuu242, xuu243, xuu244, xuu245, xuu246, xuu247, bca, bcb) → new_mkBranchResult(xuu240, xuu241, new_mkBranch0(xuu243, xuu244, xuu245, xuu246, xuu247, bca, bcb), xuu242, bca, bcb)
new_ltEs19(xuu551, xuu561, ty_Double) → new_ltEs15(xuu551, xuu561)
new_esEs17(:%(xuu40000, xuu40001), :%(xuu3000, xuu3001), dhg) → new_asAs(new_esEs29(xuu40000, xuu3000, dhg), new_esEs28(xuu40001, xuu3001, dhg))
new_esEs31(xuu40000, xuu3000, app(ty_Ratio, bdh)) → new_esEs17(xuu40000, xuu3000, bdh)
new_esEs30(xuu40001, xuu3001, app(app(ty_Either, bde), bdf)) → new_esEs25(xuu40001, xuu3001, bde, bdf)
new_esEs38(xuu40002, xuu3002, app(ty_Maybe, fgg)) → new_esEs21(xuu40002, xuu3002, fgg)
new_lt18(xuu400, xuu30, bhg, bhh) → new_esEs12(new_compare27(xuu400, xuu30, bhg, bhh))
new_ltEs10(True, True) → True
new_addToFM_C0(EmptyFM, xuu400, xuu401, h, ba) → Branch(xuu400, xuu401, Pos(Succ(Zero)), new_emptyFM(h, ba), new_emptyFM(h, ba))
new_esEs38(xuu40002, xuu3002, ty_Bool) → new_esEs15(xuu40002, xuu3002)
new_asAs(True, xuu153) → xuu153
new_esEs6(xuu4001, xuu301, ty_@0) → new_esEs22(xuu4001, xuu301)
new_compare112(xuu158, xuu159, True, dhd, dhe) → LT
new_ltEs19(xuu551, xuu561, app(ty_Ratio, bbf)) → new_ltEs7(xuu551, xuu561, bbf)
new_ltEs5(GT, GT) → True
new_esEs10(xuu4001, xuu301, ty_@0) → new_esEs22(xuu4001, xuu301)
new_esEs38(xuu40002, xuu3002, ty_Int) → new_esEs24(xuu40002, xuu3002)
new_gt(xuu19, xuu14, app(app(ty_@2, ebd), ebe)) → new_esEs41(new_compare5(xuu19, xuu14, ebd, ebe))
new_lt11(xuu550, xuu560, app(app(ty_@2, bae), baf)) → new_lt4(xuu550, xuu560, bae, baf)
new_esEs27(xuu550, xuu560, ty_Bool) → new_esEs15(xuu550, xuu560)
new_compare8(@0, @0) → EQ
new_esEs31(xuu40000, xuu3000, app(app(ty_Either, beg), beh)) → new_esEs25(xuu40000, xuu3000, beg, beh)
new_primCompAux0(xuu4000, xuu300, xuu45, edf) → new_primCompAux00(xuu45, new_compare31(xuu4000, xuu300, edf))
new_ltEs11(xuu55, xuu56) → new_fsEs(new_compare11(xuu55, xuu56))
new_ltEs16(Left(xuu550), Left(xuu560), app(app(ty_Either, eed), eee), db) → new_ltEs16(xuu550, xuu560, eed, eee)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, app(app(ty_Either, bhe), bhf)) → new_esEs25(xuu40000, xuu3000, bhe, bhf)
new_esEs30(xuu40001, xuu3001, ty_Double) → new_esEs16(xuu40001, xuu3001)
new_ltEs21(xuu77, xuu78, ty_Int) → new_ltEs13(xuu77, xuu78)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_addToFM_C10(xuu31, xuu32, xuu33, xuu34, xuu35, xuu36, xuu37, False, ebf, ebg) → Branch(xuu36, xuu37, xuu33, xuu34, xuu35)
new_gt(xuu19, xuu14, app(ty_Ratio, ebc)) → new_esEs41(new_compare15(xuu19, xuu14, ebc))
new_lt11(xuu550, xuu560, app(app(app(ty_@3, hg), hh), baa)) → new_lt5(xuu550, xuu560, hg, hh, baa)
new_lt19(xuu109, xuu112, app(ty_Ratio, cea)) → new_lt8(xuu109, xuu112, cea)
new_esEs27(xuu550, xuu560, app(ty_Ratio, bad)) → new_esEs17(xuu550, xuu560, bad)
new_esEs33(xuu108, xuu111, ty_Ordering) → new_esEs13(xuu108, xuu111)
new_esEs36(xuu551, xuu561, ty_Int) → new_esEs24(xuu551, xuu561)
new_esEs36(xuu551, xuu561, ty_Double) → new_esEs16(xuu551, xuu561)
new_addToFM_C10(xuu31, xuu32, xuu33, xuu34, xuu35, xuu36, xuu37, True, ebf, ebg) → new_mkBalBranch(xuu31, xuu32, xuu34, new_addToFM_C0(xuu35, xuu36, xuu37, ebf, ebg), ebf, ebg)
new_ltEs19(xuu551, xuu561, app(app(ty_Either, bbd), bbe)) → new_ltEs16(xuu551, xuu561, bbd, bbe)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Double) → new_ltEs15(xuu550, xuu560)
new_esEs8(xuu4000, xuu300, app(ty_Ratio, cab)) → new_esEs17(xuu4000, xuu300, cab)
new_lt24(xuu400, xuu30, app(app(app(ty_@3, bd), be), bf)) → new_lt5(xuu400, xuu30, bd, be, bf)
new_ltEs16(Right(xuu550), Right(xuu560), da, ty_Int) → new_ltEs13(xuu550, xuu560)
new_esEs4(xuu4000, xuu300, ty_Double) → new_esEs16(xuu4000, xuu300)
new_ltEs5(GT, EQ) → False
new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, ebh, eca, ecb) → LT
new_esEs22(@0, @0) → True
new_primEqInt(Pos(Zero), Neg(Zero)) → True
new_primEqInt(Neg(Zero), Pos(Zero)) → True
new_esEs9(xuu4000, xuu300, app(app(ty_@2, cbh), cca)) → new_esEs19(xuu4000, xuu300, cbh, cca)
new_lt24(xuu400, xuu30, app(app(ty_@2, dbh), dca)) → new_lt4(xuu400, xuu30, dbh, dca)
new_esEs34(xuu121, xuu123, ty_Bool) → new_esEs15(xuu121, xuu123)
new_ltEs18(xuu55, xuu56, app(app(app(ty_@3, ce), cf), cg)) → new_ltEs14(xuu55, xuu56, ce, cf, cg)
new_not(True) → False
new_compare210(xuu121, xuu122, xuu123, xuu124, True, def, deg) → EQ
new_primMinusNat0(Succ(xuu39200), Succ(xuu13400)) → new_primMinusNat0(xuu39200, xuu13400)
new_esEs27(xuu550, xuu560, ty_Integer) → new_esEs26(xuu550, xuu560)
new_esEs10(xuu4001, xuu301, app(app(app(ty_@3, dcd), dce), dcf)) → new_esEs18(xuu4001, xuu301, dcd, dce, dcf)
new_compare17(GT, EQ) → GT
new_ltEs8(Just(xuu550), Just(xuu560), ty_Integer) → new_ltEs11(xuu550, xuu560)
new_ltEs10(False, True) → True
new_mkBalBranch6Size_l(xuu18, xuu14, xuu15, xuu39, bb, bc) → new_sizeFM(xuu39, bb, bc)
new_ltEs19(xuu551, xuu561, app(ty_[], bag)) → new_ltEs9(xuu551, xuu561, bag)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Bool) → new_ltEs10(xuu550, xuu560)
new_mkBalBranch6MkBalBranch5(xuu18, xuu14, xuu15, xuu39, True, bb, bc) → new_mkBranchResult(xuu14, xuu15, xuu18, xuu39, bb, bc)
new_esEs5(xuu4002, xuu302, ty_Double) → new_esEs16(xuu4002, xuu302)
new_compare([], :(xuu300, xuu301), edf) → LT
new_esEs11(xuu4000, xuu300, app(ty_Maybe, dec)) → new_esEs21(xuu4000, xuu300, dec)
new_ltEs22(xuu84, xuu85, ty_@0) → new_ltEs4(xuu84, xuu85)
new_ltEs24(xuu552, xuu562, app(app(app(ty_@3, fde), fdf), fdg)) → new_ltEs14(xuu552, xuu562, fde, fdf, fdg)
new_ltEs5(EQ, GT) → True
new_lt19(xuu109, xuu112, app(app(ty_Either, cdg), cdh)) → new_lt18(xuu109, xuu112, cdg, cdh)
new_lt24(xuu400, xuu30, ty_Integer) → new_lt6(xuu400, xuu30)
new_esEs11(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_compare27(Left(xuu4000), Left(xuu300), bhg, bhh) → new_compare28(xuu4000, xuu300, new_esEs8(xuu4000, xuu300, bhg), bhg, bhh)
new_addToFM_C20(xuu14, xuu15, xuu16, xuu17, xuu18, xuu19, xuu20, False, bb, bc) → new_addToFM_C10(xuu14, xuu15, xuu16, xuu17, xuu18, xuu19, xuu20, new_gt(xuu19, xuu14, bb), bb, bc)
new_compare17(EQ, EQ) → EQ
new_esEs9(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_esEs31(xuu40000, xuu3000, app(ty_[], bdg)) → new_esEs14(xuu40000, xuu3000, bdg)
new_compare31(xuu4000, xuu300, app(app(app(ty_@3, ege), egf), egg)) → new_compare9(xuu4000, xuu300, ege, egf, egg)
new_ltEs20(xuu110, xuu113, app(app(ty_Either, cfa), cfb)) → new_ltEs16(xuu110, xuu113, cfa, cfb)
new_primMulNat0(Zero, Zero) → Zero
new_esEs36(xuu551, xuu561, app(app(ty_@2, fda), fdb)) → new_esEs19(xuu551, xuu561, fda, fdb)
new_esEs4(xuu4000, xuu300, app(ty_Maybe, eac)) → new_esEs21(xuu4000, xuu300, eac)
new_compare25(xuu55, xuu56, True, cb) → EQ
new_esEs6(xuu4001, xuu301, ty_Ordering) → new_esEs13(xuu4001, xuu301)
new_esEs8(xuu4000, xuu300, app(ty_[], caa)) → new_esEs14(xuu4000, xuu300, caa)
new_esEs13(EQ, EQ) → True
new_lt21(xuu121, xuu123, ty_Char) → new_lt14(xuu121, xuu123)
new_esEs35(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_esEs11(xuu4000, xuu300, app(app(app(ty_@3, ddf), ddg), ddh)) → new_esEs18(xuu4000, xuu300, ddf, ddg, ddh)
new_ltEs24(xuu552, xuu562, app(app(ty_@2, fec), fed)) → new_ltEs17(xuu552, xuu562, fec, fed)
new_ltEs20(xuu110, xuu113, app(app(ty_@2, cfd), cfe)) → new_ltEs17(xuu110, xuu113, cfd, cfe)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Double, bfa) → new_esEs16(xuu40000, xuu3000)
new_esEs31(xuu40000, xuu3000, app(ty_Maybe, bef)) → new_esEs21(xuu40000, xuu3000, bef)
new_esEs8(xuu4000, xuu300, app(app(ty_Either, cba), cbb)) → new_esEs25(xuu4000, xuu300, cba, cbb)
new_esEs38(xuu40002, xuu3002, ty_@0) → new_esEs22(xuu40002, xuu3002)
new_ltEs21(xuu77, xuu78, app(app(ty_@2, dab), dac)) → new_ltEs17(xuu77, xuu78, dab, dac)
new_ltEs18(xuu55, xuu56, ty_Bool) → new_ltEs10(xuu55, xuu56)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, app(app(app(ty_@3, bgg), bgh), bha)) → new_esEs18(xuu40000, xuu3000, bgg, bgh, bha)
new_lt24(xuu400, xuu30, ty_Float) → new_lt7(xuu400, xuu30)
new_ltEs8(Just(xuu550), Just(xuu560), ty_@0) → new_ltEs4(xuu550, xuu560)
new_esEs39(xuu40001, xuu3001, ty_Bool) → new_esEs15(xuu40001, xuu3001)
new_esEs4(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_lt23(xuu551, xuu561, app(ty_Maybe, fcb)) → new_lt9(xuu551, xuu561, fcb)
new_esEs7(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_ltEs20(xuu110, xuu113, app(ty_Ratio, cfc)) → new_ltEs7(xuu110, xuu113, cfc)
new_esEs32(xuu109, xuu112, app(ty_[], cdb)) → new_esEs14(xuu109, xuu112, cdb)
new_esEs14([], [], dhf) → True
new_esEs38(xuu40002, xuu3002, ty_Integer) → new_esEs26(xuu40002, xuu3002)
new_compare31(xuu4000, xuu300, app(app(ty_Either, egh), eha)) → new_compare27(xuu4000, xuu300, egh, eha)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Int) → new_ltEs13(xuu550, xuu560)
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_Ratio, eef), db) → new_ltEs7(xuu550, xuu560, eef)
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(ty_@2, bfg), bfh), bfa) → new_esEs19(xuu40000, xuu3000, bfg, bfh)
new_ltEs16(Right(xuu550), Right(xuu560), da, app(app(app(ty_@3, efc), efd), efe)) → new_ltEs14(xuu550, xuu560, efc, efd, efe)
new_lt11(xuu550, xuu560, ty_Ordering) → new_lt10(xuu550, xuu560)
new_lt11(xuu550, xuu560, ty_Double) → new_lt17(xuu550, xuu560)
new_lt11(xuu550, xuu560, ty_Integer) → new_lt6(xuu550, xuu560)
new_lt22(xuu550, xuu560, app(ty_[], fag)) → new_lt12(xuu550, xuu560, fag)
new_esEs27(xuu550, xuu560, ty_Float) → new_esEs20(xuu550, xuu560)
new_esEs32(xuu109, xuu112, ty_Ordering) → new_esEs13(xuu109, xuu112)
new_esEs34(xuu121, xuu123, app(app(app(ty_@3, dgd), dge), dgf)) → new_esEs18(xuu121, xuu123, dgd, dge, dgf)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs12(LT) → True
new_ltEs18(xuu55, xuu56, ty_Int) → new_ltEs13(xuu55, xuu56)
new_lt19(xuu109, xuu112, app(ty_[], cdb)) → new_lt12(xuu109, xuu112, cdb)
new_primCmpNat0(Zero, Succ(xuu3000)) → LT
new_ltEs8(Nothing, Just(xuu560), cd) → True
new_mkBalBranch6MkBalBranch3(xuu18, xuu14, xuu15, xuu39, False, bb, bc) → new_mkBranchResult(xuu14, xuu15, xuu18, xuu39, bb, bc)
new_ltEs24(xuu552, xuu562, ty_Ordering) → new_ltEs5(xuu552, xuu562)
new_ltEs22(xuu84, xuu85, ty_Ordering) → new_ltEs5(xuu84, xuu85)
new_esEs38(xuu40002, xuu3002, ty_Ordering) → new_esEs13(xuu40002, xuu3002)
new_ltEs20(xuu110, xuu113, ty_@0) → new_ltEs4(xuu110, xuu113)
new_esEs8(xuu4000, xuu300, ty_Float) → new_esEs20(xuu4000, xuu300)
new_ltEs8(Just(xuu550), Just(xuu560), app(app(app(ty_@3, ece), ecf), ecg)) → new_ltEs14(xuu550, xuu560, ece, ecf, ecg)
new_mkBranch0(xuu243, xuu244, xuu245, xuu246, xuu247, bca, bcb) → new_mkBranchResult(xuu244, xuu245, xuu247, xuu246, bca, bcb)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Int, db) → new_ltEs13(xuu550, xuu560)
new_gt(xuu19, xuu14, ty_Integer) → new_esEs41(new_compare11(xuu19, xuu14))
new_lt11(xuu550, xuu560, ty_Char) → new_lt14(xuu550, xuu560)
new_esEs37(xuu550, xuu560, app(ty_Ratio, fbf)) → new_esEs17(xuu550, xuu560, fbf)
new_ltEs19(xuu551, xuu561, ty_Int) → new_ltEs13(xuu551, xuu561)
new_esEs32(xuu109, xuu112, ty_Char) → new_esEs23(xuu109, xuu112)
new_compare5(@2(xuu4000, xuu4001), @2(xuu300, xuu301), dbh, dca) → new_compare210(xuu4000, xuu4001, xuu300, xuu301, new_asAs(new_esEs11(xuu4000, xuu300, dbh), new_esEs10(xuu4001, xuu301, dca)), dbh, dca)
new_esEs6(xuu4001, xuu301, ty_Float) → new_esEs20(xuu4001, xuu301)
new_lt20(xuu108, xuu111, ty_Int) → new_lt15(xuu108, xuu111)
new_compare29(xuu84, xuu85, True, dad, dae) → EQ
new_esEs27(xuu550, xuu560, app(ty_Maybe, hf)) → new_esEs21(xuu550, xuu560, hf)
new_esEs37(xuu550, xuu560, ty_Float) → new_esEs20(xuu550, xuu560)
new_lt23(xuu551, xuu561, ty_Float) → new_lt7(xuu551, xuu561)
new_esEs40(xuu40000, xuu3000, app(app(ty_Either, gbd), gbe)) → new_esEs25(xuu40000, xuu3000, gbd, gbe)
new_ltEs16(Left(xuu550), Left(xuu560), app(app(app(ty_@3, eea), eeb), eec), db) → new_ltEs14(xuu550, xuu560, eea, eeb, eec)
new_ltEs21(xuu77, xuu78, app(app(app(ty_@3, chd), che), chf)) → new_ltEs14(xuu77, xuu78, chd, che, chf)
new_esEs35(xuu40000, xuu3000, app(app(ty_Either, fae), faf)) → new_esEs25(xuu40000, xuu3000, fae, faf)
new_ltEs22(xuu84, xuu85, ty_Char) → new_ltEs12(xuu84, xuu85)
new_ltEs21(xuu77, xuu78, ty_@0) → new_ltEs4(xuu77, xuu78)
new_sr(xuu4001, xuu301) → new_primMulInt(xuu4001, xuu301)
new_mkBalBranch(xuu14, xuu15, xuu39, xuu18, bb, bc) → new_mkBalBranch6MkBalBranch5(xuu18, xuu14, xuu15, xuu39, new_lt15(new_primPlusInt(new_mkBalBranch6Size_l(xuu18, xuu14, xuu15, xuu39, bb, bc), new_mkBalBranch6Size_r(xuu18, xuu14, xuu15, xuu39, bb, bc)), Pos(Succ(Succ(Zero)))), bb, bc)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_[], bfb), bfa) → new_esEs14(xuu40000, xuu3000, bfb)
new_compare7(xuu400, xuu30) → new_primCmpInt(xuu400, xuu30)
new_lt11(xuu550, xuu560, ty_Int) → new_lt15(xuu550, xuu560)
new_esEs8(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_esEs4(xuu4000, xuu300, app(ty_[], dhf)) → new_esEs14(xuu4000, xuu300, dhf)
new_ltEs21(xuu77, xuu78, ty_Ordering) → new_ltEs5(xuu77, xuu78)
new_esEs9(xuu4000, xuu300, ty_@0) → new_esEs22(xuu4000, xuu300)
new_lt20(xuu108, xuu111, ty_Double) → new_lt17(xuu108, xuu111)
new_lt24(xuu400, xuu30, app(app(ty_Either, bhg), bhh)) → new_lt18(xuu400, xuu30, bhg, bhh)
new_ltEs16(Right(xuu550), Right(xuu560), da, app(ty_Ratio, efh)) → new_ltEs7(xuu550, xuu560, efh)
new_compare31(xuu4000, xuu300, ty_@0) → new_compare8(xuu4000, xuu300)
new_ltEs16(Left(xuu550), Left(xuu560), ty_@0, db) → new_ltEs4(xuu550, xuu560)
new_ltEs24(xuu552, xuu562, ty_Integer) → new_ltEs11(xuu552, xuu562)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_ltEs19(xuu551, xuu561, app(app(ty_@2, bbg), bbh)) → new_ltEs17(xuu551, xuu561, bbg, bbh)
new_esEs8(xuu4000, xuu300, app(ty_Maybe, cah)) → new_esEs21(xuu4000, xuu300, cah)
new_ltEs16(Right(xuu550), Right(xuu560), da, ty_Bool) → new_ltEs10(xuu550, xuu560)
new_esEs15(True, True) → True
new_lt19(xuu109, xuu112, app(app(ty_@2, ceb), cec)) → new_lt4(xuu109, xuu112, ceb, cec)
new_esEs39(xuu40001, xuu3001, ty_@0) → new_esEs22(xuu40001, xuu3001)
new_esEs4(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_esEs14([], :(xuu3000, xuu3001), dhf) → False
new_esEs14(:(xuu40000, xuu40001), [], dhf) → False
new_esEs27(xuu550, xuu560, ty_Char) → new_esEs23(xuu550, xuu560)
new_ltEs23(xuu122, xuu124, app(app(ty_Either, dfe), dff)) → new_ltEs16(xuu122, xuu124, dfe, dff)
new_ltEs24(xuu552, xuu562, app(app(ty_Either, fdh), fea)) → new_ltEs16(xuu552, xuu562, fdh, fea)
new_lt22(xuu550, xuu560, ty_Int) → new_lt15(xuu550, xuu560)
new_ltEs20(xuu110, xuu113, ty_Char) → new_ltEs12(xuu110, xuu113)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Int) → new_esEs24(xuu40000, xuu3000)
new_compare112(xuu158, xuu159, False, dhd, dhe) → GT
new_primEqInt(Neg(Succ(xuu400000)), Neg(Zero)) → False
new_primEqInt(Neg(Zero), Neg(Succ(xuu30000))) → False
new_ltEs19(xuu551, xuu561, ty_Char) → new_ltEs12(xuu551, xuu561)
new_esEs37(xuu550, xuu560, app(app(ty_@2, fbg), fbh)) → new_esEs19(xuu550, xuu560, fbg, fbh)
new_esEs19(@2(xuu40000, xuu40001), @2(xuu3000, xuu3001), bcc, bcd) → new_asAs(new_esEs31(xuu40000, xuu3000, bcc), new_esEs30(xuu40001, xuu3001, bcd))
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(app(ty_@3, feg), feh), ffa)) → new_esEs18(xuu40000, xuu3000, feg, feh, ffa)
new_esEs40(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_ltEs24(xuu552, xuu562, ty_Int) → new_ltEs13(xuu552, xuu562)
new_esEs4(xuu4000, xuu300, app(app(ty_@2, bcc), bcd)) → new_esEs19(xuu4000, xuu300, bcc, bcd)
new_esEs10(xuu4001, xuu301, app(app(ty_Either, ddb), ddc)) → new_esEs25(xuu4001, xuu301, ddb, ddc)
new_esEs34(xuu121, xuu123, app(app(ty_Either, dgg), dgh)) → new_esEs25(xuu121, xuu123, dgg, dgh)
new_ltEs20(xuu110, xuu113, ty_Double) → new_ltEs15(xuu110, xuu113)
new_esEs36(xuu551, xuu561, ty_@0) → new_esEs22(xuu551, xuu561)
new_primMinusNat0(Succ(xuu39200), Zero) → Pos(Succ(xuu39200))
new_primCmpNat0(Succ(xuu40000), Succ(xuu3000)) → new_primCmpNat0(xuu40000, xuu3000)
new_esEs38(xuu40002, xuu3002, app(app(ty_@2, fge), fgf)) → new_esEs19(xuu40002, xuu3002, fge, fgf)
new_sizeFM(EmptyFM, bb, bc) → Pos(Zero)
new_ltEs5(EQ, EQ) → True
new_esEs35(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_esEs13(LT, LT) → True
new_ltEs22(xuu84, xuu85, app(app(app(ty_@3, dah), dba), dbb)) → new_ltEs14(xuu84, xuu85, dah, dba, dbb)
new_lt22(xuu550, xuu560, ty_Char) → new_lt14(xuu550, xuu560)
new_compare16(Just(xuu4000), Just(xuu300), ca) → new_compare25(xuu4000, xuu300, new_esEs4(xuu4000, xuu300, ca), ca)
new_compare29(xuu84, xuu85, False, dad, dae) → new_compare110(xuu84, xuu85, new_ltEs22(xuu84, xuu85, dae), dad, dae)
new_compare12(Double(xuu4000, xuu4001), Double(xuu300, xuu301)) → new_compare7(new_sr(xuu4000, xuu300), new_sr(xuu4001, xuu301))
new_esEs37(xuu550, xuu560, app(app(ty_Either, fbd), fbe)) → new_esEs25(xuu550, xuu560, fbd, fbe)
new_ltEs23(xuu122, xuu124, app(ty_Maybe, dfa)) → new_ltEs8(xuu122, xuu124, dfa)
new_esEs6(xuu4001, xuu301, app(app(app(ty_@3, fb), fc), fd)) → new_esEs18(xuu4001, xuu301, fb, fc, fd)
new_compare15(:%(xuu4000, xuu4001), :%(xuu300, xuu301), ty_Int) → new_compare7(new_sr(xuu4000, xuu301), new_sr(xuu300, xuu4001))
new_esEs21(Just(xuu40000), Just(xuu3000), app(app(ty_@2, ffb), ffc)) → new_esEs19(xuu40000, xuu3000, ffb, ffc)
new_primCompAux00(xuu49, LT) → LT
new_esEs30(xuu40001, xuu3001, ty_Integer) → new_esEs26(xuu40001, xuu3001)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Char, bfa) → new_esEs23(xuu40000, xuu3000)
new_esEs35(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_ltEs23(xuu122, xuu124, ty_Bool) → new_ltEs10(xuu122, xuu124)
new_primEqInt(Pos(Zero), Pos(Succ(xuu30000))) → False
new_primEqInt(Pos(Succ(xuu400000)), Pos(Zero)) → False
new_esEs10(xuu4001, xuu301, ty_Double) → new_esEs16(xuu4001, xuu301)
new_ltEs18(xuu55, xuu56, ty_Integer) → new_ltEs11(xuu55, xuu56)
new_primPlusNat0(Succ(xuu39200), Zero) → Succ(xuu39200)
new_primPlusNat0(Zero, Succ(xuu13400)) → Succ(xuu13400)
new_ltEs5(GT, LT) → False
new_primCmpNat0(Zero, Zero) → EQ
new_primCmpNat0(Succ(xuu40000), Zero) → GT
new_lt20(xuu108, xuu111, app(app(ty_@2, cgf), cgg)) → new_lt4(xuu108, xuu111, cgf, cgg)
new_ltEs20(xuu110, xuu113, ty_Ordering) → new_ltEs5(xuu110, xuu113)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Ordering) → new_ltEs5(xuu550, xuu560)
new_compare111(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, xuu187, ebh, eca, ecb) → new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, True, ebh, eca, ecb)
new_primCmpInt(Neg(Zero), Pos(Succ(xuu3000))) → LT
new_sr0(Integer(xuu3000), Integer(xuu40010)) → Integer(new_primMulInt(xuu3000, xuu40010))
new_compare28(xuu77, xuu78, True, cgh, cha) → EQ
new_esEs21(Just(xuu40000), Just(xuu3000), ty_Char) → new_esEs23(xuu40000, xuu3000)
new_primEqInt(Neg(Succ(xuu400000)), Pos(xuu3000)) → False
new_primEqInt(Pos(Succ(xuu400000)), Neg(xuu3000)) → False
new_esEs10(xuu4001, xuu301, app(ty_[], dcb)) → new_esEs14(xuu4001, xuu301, dcb)
new_mkBranchResult(xuu14, xuu15, xuu18, xuu39, bb, bc) → Branch(xuu14, xuu15, new_primPlusInt(new_primPlusInt(Pos(Succ(Zero)), new_sizeFM(xuu39, bb, bc)), new_sizeFM(xuu18, bb, bc)), xuu39, xuu18)
new_esEs33(xuu108, xuu111, ty_Float) → new_esEs20(xuu108, xuu111)
new_compare(:(xuu4000, xuu4001), :(xuu300, xuu301), edf) → new_primCompAux0(xuu4000, xuu300, new_compare(xuu4001, xuu301, edf), edf)
new_esEs16(Double(xuu40000, xuu40001), Double(xuu3000, xuu3001)) → new_esEs24(new_sr(xuu40000, xuu3000), new_sr(xuu40001, xuu3001))
new_primPlusInt(Neg(xuu3920), Pos(xuu1340)) → new_primMinusNat0(xuu1340, xuu3920)
new_primPlusInt(Pos(xuu3920), Neg(xuu1340)) → new_primMinusNat0(xuu3920, xuu1340)
new_mkBalBranch6MkBalBranch3(xuu18, xuu14, xuu15, EmptyFM, True, bb, bc) → error([])
new_ltEs24(xuu552, xuu562, ty_Bool) → new_ltEs10(xuu552, xuu562)
new_esEs37(xuu550, xuu560, ty_@0) → new_esEs22(xuu550, xuu560)
new_esEs5(xuu4002, xuu302, app(ty_Maybe, ee)) → new_esEs21(xuu4002, xuu302, ee)
new_esEs27(xuu550, xuu560, app(app(ty_@2, bae), baf)) → new_esEs19(xuu550, xuu560, bae, baf)
new_lt20(xuu108, xuu111, ty_Integer) → new_lt6(xuu108, xuu111)
new_esEs6(xuu4001, xuu301, app(app(ty_Either, ga), gb)) → new_esEs25(xuu4001, xuu301, ga, gb)
new_esEs4(xuu4000, xuu300, app(app(ty_Either, bgd), bfa)) → new_esEs25(xuu4000, xuu300, bgd, bfa)
new_esEs35(xuu40000, xuu3000, app(ty_Maybe, fad)) → new_esEs21(xuu40000, xuu3000, fad)
new_esEs40(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_esEs41(EQ) → False
new_ltEs16(Right(xuu550), Right(xuu560), da, app(app(ty_@2, ega), egb)) → new_ltEs17(xuu550, xuu560, ega, egb)
new_compare17(GT, GT) → EQ
new_compare210(xuu121, xuu122, xuu123, xuu124, False, def, deg) → new_compare13(xuu121, xuu122, xuu123, xuu124, new_lt21(xuu121, xuu123, def), new_asAs(new_esEs34(xuu121, xuu123, def), new_ltEs23(xuu122, xuu124, deg)), def, deg)
new_esEs7(xuu4000, xuu300, app(ty_Ratio, gd)) → new_esEs17(xuu4000, xuu300, gd)
new_esEs9(xuu4000, xuu300, app(app(app(ty_@3, cbe), cbf), cbg)) → new_esEs18(xuu4000, xuu300, cbe, cbf, cbg)
new_esEs5(xuu4002, xuu302, ty_Float) → new_esEs20(xuu4002, xuu302)
new_primCmpInt(Pos(Succ(xuu40000)), Pos(xuu300)) → new_primCmpNat0(Succ(xuu40000), xuu300)
new_esEs27(xuu550, xuu560, ty_@0) → new_esEs22(xuu550, xuu560)
new_lt21(xuu121, xuu123, app(ty_[], dgb)) → new_lt12(xuu121, xuu123, dgb)
new_esEs37(xuu550, xuu560, ty_Int) → new_esEs24(xuu550, xuu560)
new_esEs33(xuu108, xuu111, app(ty_Ratio, cge)) → new_esEs17(xuu108, xuu111, cge)
new_esEs38(xuu40002, xuu3002, ty_Float) → new_esEs20(xuu40002, xuu3002)
new_lt11(xuu550, xuu560, app(ty_[], he)) → new_lt12(xuu550, xuu560, he)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_esEs34(xuu121, xuu123, ty_@0) → new_esEs22(xuu121, xuu123)
new_compare17(GT, LT) → GT
new_esEs8(xuu4000, xuu300, app(app(app(ty_@3, cac), cad), cae)) → new_esEs18(xuu4000, xuu300, cac, cad, cae)
new_esEs4(xuu4000, xuu300, ty_Char) → new_esEs23(xuu4000, xuu300)
new_ltEs19(xuu551, xuu561, ty_Float) → new_ltEs6(xuu551, xuu561)
new_lt11(xuu550, xuu560, ty_@0) → new_lt16(xuu550, xuu560)
new_esEs8(xuu4000, xuu300, ty_Integer) → new_esEs26(xuu4000, xuu300)
new_ltEs16(Left(xuu550), Left(xuu560), ty_Integer, db) → new_ltEs11(xuu550, xuu560)
new_compare17(LT, GT) → LT
new_esEs31(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_ltEs24(xuu552, xuu562, ty_Double) → new_ltEs15(xuu552, xuu562)
new_gt(xuu19, xuu14, ty_Int) → new_gt0(xuu19, xuu14)
new_lt23(xuu551, xuu561, app(ty_[], fca)) → new_lt12(xuu551, xuu561, fca)
new_primCmpInt(Pos(Succ(xuu40000)), Neg(xuu300)) → GT
new_lt23(xuu551, xuu561, ty_Char) → new_lt14(xuu551, xuu561)
new_esEs40(xuu40000, xuu3000, app(ty_[], gad)) → new_esEs14(xuu40000, xuu3000, gad)
new_lt8(xuu400, xuu30, ede) → new_esEs12(new_compare15(xuu400, xuu30, ede))
new_lt19(xuu109, xuu112, ty_Ordering) → new_lt10(xuu109, xuu112)
new_ltEs19(xuu551, xuu561, ty_@0) → new_ltEs4(xuu551, xuu561)
new_primMulInt(Pos(xuu40010), Pos(xuu3010)) → Pos(new_primMulNat0(xuu40010, xuu3010))
new_ltEs7(xuu55, xuu56, dc) → new_fsEs(new_compare15(xuu55, xuu56, dc))
new_ltEs5(LT, GT) → True
new_lt22(xuu550, xuu560, ty_@0) → new_lt16(xuu550, xuu560)
new_esEs36(xuu551, xuu561, app(app(ty_Either, fcf), fcg)) → new_esEs25(xuu551, xuu561, fcf, fcg)
new_ltEs16(Right(xuu550), Right(xuu560), da, app(ty_[], efa)) → new_ltEs9(xuu550, xuu560, efa)
new_primPlusNat0(Zero, Zero) → Zero
new_primEqInt(Pos(Zero), Pos(Zero)) → True
new_lt5(xuu400, xuu30, bd, be, bf) → new_esEs12(new_compare9(xuu400, xuu30, bd, be, bf))
new_primPlusInt(Neg(xuu3920), Neg(xuu1340)) → Neg(new_primPlusNat0(xuu3920, xuu1340))
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_lt19(xuu109, xuu112, ty_Double) → new_lt17(xuu109, xuu112)
new_esEs21(Just(xuu40000), Just(xuu3000), ty_@0) → new_esEs22(xuu40000, xuu3000)
new_compare17(LT, EQ) → LT
new_esEs33(xuu108, xuu111, app(ty_Maybe, cfg)) → new_esEs21(xuu108, xuu111, cfg)
new_esEs40(xuu40000, xuu3000, app(app(ty_@2, gba), gbb)) → new_esEs19(xuu40000, xuu3000, gba, gbb)
new_lt23(xuu551, xuu561, ty_Double) → new_lt17(xuu551, xuu561)
new_ltEs18(xuu55, xuu56, app(app(ty_@2, dd), de)) → new_ltEs17(xuu55, xuu56, dd, de)
new_esEs40(xuu40000, xuu3000, app(ty_Maybe, gbc)) → new_esEs21(xuu40000, xuu3000, gbc)
new_lt20(xuu108, xuu111, ty_Char) → new_lt14(xuu108, xuu111)
new_esEs9(xuu4000, xuu300, app(app(ty_Either, ccc), ccd)) → new_esEs25(xuu4000, xuu300, ccc, ccd)
new_ltEs16(Left(xuu550), Left(xuu560), app(ty_[], edg), db) → new_ltEs9(xuu550, xuu560, edg)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Int, bfa) → new_esEs24(xuu40000, xuu3000)
new_ltEs12(xuu55, xuu56) → new_fsEs(new_compare19(xuu55, xuu56))
new_esEs9(xuu4000, xuu300, app(ty_Ratio, cbd)) → new_esEs17(xuu4000, xuu300, cbd)
new_primCmpInt(Neg(Zero), Neg(Succ(xuu3000))) → new_primCmpNat0(Succ(xuu3000), Zero)
new_esEs7(xuu4000, xuu300, app(app(app(ty_@3, ge), gf), gg)) → new_esEs18(xuu4000, xuu300, ge, gf, gg)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_Ratio, edb)) → new_ltEs7(xuu550, xuu560, edb)
new_esEs31(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Float) → new_ltEs6(xuu550, xuu560)
new_esEs40(xuu40000, xuu3000, app(app(app(ty_@3, gaf), gag), gah)) → new_esEs18(xuu40000, xuu3000, gaf, gag, gah)
new_esEs35(xuu40000, xuu3000, ty_@0) → new_esEs22(xuu40000, xuu3000)
new_ltEs21(xuu77, xuu78, ty_Integer) → new_ltEs11(xuu77, xuu78)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_@0, bfa) → new_esEs22(xuu40000, xuu3000)
new_esEs37(xuu550, xuu560, ty_Ordering) → new_esEs13(xuu550, xuu560)
new_esEs10(xuu4001, xuu301, ty_Integer) → new_esEs26(xuu4001, xuu301)
new_lt22(xuu550, xuu560, ty_Ordering) → new_lt10(xuu550, xuu560)
new_ltEs8(Just(xuu550), Just(xuu560), app(ty_Maybe, ecd)) → new_ltEs8(xuu550, xuu560, ecd)
new_lt22(xuu550, xuu560, ty_Float) → new_lt7(xuu550, xuu560)
new_esEs11(xuu4000, xuu300, ty_Bool) → new_esEs15(xuu4000, xuu300)
new_esEs10(xuu4001, xuu301, ty_Char) → new_esEs23(xuu4001, xuu301)
new_ltEs18(xuu55, xuu56, ty_Double) → new_ltEs15(xuu55, xuu56)
new_primMulNat0(Zero, Succ(xuu30100)) → Zero
new_primMulNat0(Succ(xuu400100), Zero) → Zero
new_ltEs18(xuu55, xuu56, ty_Ordering) → new_ltEs5(xuu55, xuu56)
new_esEs13(GT, EQ) → False
new_esEs13(EQ, GT) → False
new_ltEs5(LT, EQ) → True
new_esEs35(xuu40000, xuu3000, app(ty_[], ehe)) → new_esEs14(xuu40000, xuu3000, ehe)
new_ltEs16(Left(xuu550), Left(xuu560), app(app(ty_@2, eeg), eeh), db) → new_ltEs17(xuu550, xuu560, eeg, eeh)
new_esEs32(xuu109, xuu112, ty_Bool) → new_esEs15(xuu109, xuu112)
new_esEs31(xuu40000, xuu3000, ty_Double) → new_esEs16(xuu40000, xuu3000)
new_ltEs14(@3(xuu550, xuu551, xuu552), @3(xuu560, xuu561, xuu562), ce, cf, cg) → new_pePe(new_lt22(xuu550, xuu560, ce), new_asAs(new_esEs37(xuu550, xuu560, ce), new_pePe(new_lt23(xuu551, xuu561, cf), new_asAs(new_esEs36(xuu551, xuu561, cf), new_ltEs24(xuu552, xuu562, cg)))))
new_esEs30(xuu40001, xuu3001, ty_Int) → new_esEs24(xuu40001, xuu3001)
new_mkBalBranch6MkBalBranch5(xuu18, xuu14, xuu15, xuu39, False, bb, bc) → new_mkBalBranch6MkBalBranch4(xuu18, xuu14, xuu15, xuu39, new_gt0(new_mkBalBranch6Size_r(xuu18, xuu14, xuu15, xuu39, bb, bc), new_sr(new_sIZE_RATIO, new_mkBalBranch6Size_l(xuu18, xuu14, xuu15, xuu39, bb, bc))), bb, bc)
new_compare31(xuu4000, xuu300, app(ty_Ratio, ehb)) → new_compare15(xuu4000, xuu300, ehb)
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, app(app(ty_@2, bhb), bhc)) → new_esEs19(xuu40000, xuu3000, bhb, bhc)
new_lt24(xuu400, xuu30, app(ty_Ratio, ede)) → new_lt8(xuu400, xuu30, ede)
new_ltEs16(Right(xuu550), Right(xuu560), da, ty_Integer) → new_ltEs11(xuu550, xuu560)
new_esEs40(xuu40000, xuu3000, ty_Float) → new_esEs20(xuu40000, xuu3000)
new_lt12(xuu400, xuu30, edf) → new_esEs12(new_compare(xuu400, xuu30, edf))
new_esEs6(xuu4001, xuu301, ty_Bool) → new_esEs15(xuu4001, xuu301)
new_lt6(xuu400, xuu30) → new_esEs12(new_compare11(xuu400, xuu30))
new_ltEs18(xuu55, xuu56, ty_Char) → new_ltEs12(xuu55, xuu56)
new_compare18(xuu144, xuu145, True, ffg) → LT
new_lt22(xuu550, xuu560, app(app(ty_Either, fbd), fbe)) → new_lt18(xuu550, xuu560, fbd, fbe)
new_esEs24(xuu4000, xuu300) → new_primEqInt(xuu4000, xuu300)
new_mkBalBranch6MkBalBranch01(xuu180, xuu181, xuu182, EmptyFM, xuu184, xuu14, xuu15, xuu39, False, bb, bc) → error([])
new_esEs33(xuu108, xuu111, app(app(ty_@2, cgf), cgg)) → new_esEs19(xuu108, xuu111, cgf, cgg)
new_esEs33(xuu108, xuu111, ty_Bool) → new_esEs15(xuu108, xuu111)
new_ltEs23(xuu122, xuu124, app(app(ty_@2, dfh), dga)) → new_ltEs17(xuu122, xuu124, dfh, dga)
new_lt19(xuu109, xuu112, ty_@0) → new_lt16(xuu109, xuu112)
new_primMinusNat0(Zero, Succ(xuu13400)) → Neg(Succ(xuu13400))
new_ltEs16(Right(xuu550), Left(xuu560), da, db) → False
new_esEs41(LT) → False
new_esEs25(Right(xuu40000), Right(xuu3000), bgd, app(ty_Maybe, bhd)) → new_esEs21(xuu40000, xuu3000, bhd)
new_esEs7(xuu4000, xuu300, app(ty_[], gc)) → new_esEs14(xuu4000, xuu300, gc)
new_compare31(xuu4000, xuu300, ty_Char) → new_compare19(xuu4000, xuu300)
new_esEs34(xuu121, xuu123, ty_Char) → new_esEs23(xuu121, xuu123)
new_esEs32(xuu109, xuu112, app(ty_Ratio, cea)) → new_esEs17(xuu109, xuu112, cea)
new_ltEs24(xuu552, xuu562, ty_Char) → new_ltEs12(xuu552, xuu562)
new_esEs35(xuu40000, xuu3000, ty_Ordering) → new_esEs13(xuu40000, xuu3000)
new_esEs34(xuu121, xuu123, app(ty_[], dgb)) → new_esEs14(xuu121, xuu123, dgb)
new_ltEs23(xuu122, xuu124, ty_Ordering) → new_ltEs5(xuu122, xuu124)
new_ltEs18(xuu55, xuu56, app(ty_Maybe, cd)) → new_ltEs8(xuu55, xuu56, cd)
new_compare31(xuu4000, xuu300, ty_Float) → new_compare6(xuu4000, xuu300)
new_ltEs16(Right(xuu550), Right(xuu560), da, ty_Double) → new_ltEs15(xuu550, xuu560)
new_ltEs22(xuu84, xuu85, app(app(ty_@2, dbf), dbg)) → new_ltEs17(xuu84, xuu85, dbf, dbg)
new_ltEs8(Nothing, Nothing, cd) → True
new_compare31(xuu4000, xuu300, ty_Ordering) → new_compare17(xuu4000, xuu300)
new_compare13(xuu195, xuu196, xuu197, xuu198, False, xuu200, bg, bh) → new_compare14(xuu195, xuu196, xuu197, xuu198, xuu200, bg, bh)
new_esEs40(xuu40000, xuu3000, ty_Bool) → new_esEs15(xuu40000, xuu3000)
new_lt21(xuu121, xuu123, ty_Double) → new_lt17(xuu121, xuu123)
new_esEs38(xuu40002, xuu3002, ty_Double) → new_esEs16(xuu40002, xuu3002)
new_ltEs22(xuu84, xuu85, app(ty_[], daf)) → new_ltEs9(xuu84, xuu85, daf)
new_ltEs22(xuu84, xuu85, ty_Bool) → new_ltEs10(xuu84, xuu85)
new_esEs6(xuu4001, xuu301, ty_Integer) → new_esEs26(xuu4001, xuu301)
new_esEs35(xuu40000, xuu3000, ty_Integer) → new_esEs26(xuu40000, xuu3000)
new_lt21(xuu121, xuu123, app(app(ty_Either, dgg), dgh)) → new_lt18(xuu121, xuu123, dgg, dgh)
new_esEs37(xuu550, xuu560, ty_Integer) → new_esEs26(xuu550, xuu560)
new_esEs25(Left(xuu40000), Left(xuu3000), app(ty_Maybe, bga), bfa) → new_esEs21(xuu40000, xuu3000, bga)
new_mkBalBranch6MkBalBranch11(xuu18, xuu14, xuu15, xuu390, xuu391, xuu392, xuu393, EmptyFM, False, bb, bc) → error([])
new_mkBalBranch6MkBalBranch01(xuu180, xuu181, xuu182, Branch(xuu1830, xuu1831, xuu1832, xuu1833, xuu1834), xuu184, xuu14, xuu15, xuu39, False, bb, bc) → new_mkBranch(Succ(Succ(Succ(Succ(Zero)))), xuu1830, xuu1831, new_mkBranchResult(xuu14, xuu15, xuu1833, xuu39, bb, bc), Succ(Succ(Succ(Succ(Succ(Succ(Zero)))))), xuu180, xuu181, xuu1834, xuu184, bb, bc)
new_esEs10(xuu4001, xuu301, ty_Float) → new_esEs20(xuu4001, xuu301)
new_primMulNat0(Succ(xuu400100), Succ(xuu30100)) → new_primPlusNat0(new_primMulNat0(xuu400100, Succ(xuu30100)), Succ(xuu30100))
new_esEs10(xuu4001, xuu301, app(app(ty_@2, dcg), dch)) → new_esEs19(xuu4001, xuu301, dcg, dch)
new_lt20(xuu108, xuu111, app(app(app(ty_@3, cfh), cga), cgb)) → new_lt5(xuu108, xuu111, cfh, cga, cgb)
new_compare17(LT, LT) → EQ
new_primPlusNat0(Succ(xuu39200), Succ(xuu13400)) → Succ(Succ(new_primPlusNat0(xuu39200, xuu13400)))
new_esEs32(xuu109, xuu112, ty_@0) → new_esEs22(xuu109, xuu112)
new_ltEs19(xuu551, xuu561, ty_Ordering) → new_ltEs5(xuu551, xuu561)
new_esEs27(xuu550, xuu560, app(app(ty_Either, bab), bac)) → new_esEs25(xuu550, xuu560, bab, bac)
new_lt20(xuu108, xuu111, ty_Ordering) → new_lt10(xuu108, xuu111)
new_compare111(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, False, xuu187, ebh, eca, ecb) → new_compare10(xuu180, xuu181, xuu182, xuu183, xuu184, xuu185, xuu187, ebh, eca, ecb)
new_esEs27(xuu550, xuu560, app(ty_[], he)) → new_esEs14(xuu550, xuu560, he)
new_compare16(Just(xuu4000), Nothing, ca) → GT
new_esEs5(xuu4002, xuu302, app(app(app(ty_@3, dh), ea), eb)) → new_esEs18(xuu4002, xuu302, dh, ea, eb)
new_ltEs8(Just(xuu550), Just(xuu560), ty_Char) → new_ltEs12(xuu550, xuu560)
new_esEs9(xuu4000, xuu300, ty_Ordering) → new_esEs13(xuu4000, xuu300)
new_ltEs22(xuu84, xuu85, app(ty_Maybe, dag)) → new_ltEs8(xuu84, xuu85, dag)
new_lt11(xuu550, xuu560, ty_Float) → new_lt7(xuu550, xuu560)
new_compare31(xuu4000, xuu300, ty_Int) → new_compare7(xuu4000, xuu300)
new_ltEs22(xuu84, xuu85, ty_Double) → new_ltEs15(xuu84, xuu85)
new_esEs31(xuu40000, xuu3000, ty_Char) → new_esEs23(xuu40000, xuu3000)
new_esEs32(xuu109, xuu112, ty_Double) → new_esEs16(xuu109, xuu112)
new_esEs23(Char(xuu40000), Char(xuu3000)) → new_primEqNat0(xuu40000, xuu3000)
new_ltEs23(xuu122, xuu124, ty_@0) → new_ltEs4(xuu122, xuu124)
new_esEs25(Left(xuu40000), Left(xuu3000), app(app(ty_Either, bgb), bgc), bfa) → new_esEs25(xuu40000, xuu3000, bgb, bgc)
new_gt(xuu19, xuu14, app(ty_[], ead)) → new_esEs41(new_compare(xuu19, xuu14, ead))
new_esEs34(xuu121, xuu123, app(app(ty_@2, dhb), dhc)) → new_esEs19(xuu121, xuu123, dhb, dhc)
new_lt23(xuu551, xuu561, app(app(ty_Either, fcf), fcg)) → new_lt18(xuu551, xuu561, fcf, fcg)
new_ltEs24(xuu552, xuu562, ty_@0) → new_ltEs4(xuu552, xuu562)
new_esEs36(xuu551, xuu561, app(ty_Ratio, fch)) → new_esEs17(xuu551, xuu561, fch)
new_lt23(xuu551, xuu561, ty_Int) → new_lt15(xuu551, xuu561)
new_esEs38(xuu40002, xuu3002, app(ty_Ratio, fga)) → new_esEs17(xuu40002, xuu3002, fga)
new_esEs25(Left(xuu40000), Left(xuu3000), ty_Ordering, bfa) → new_esEs13(xuu40000, xuu3000)
new_primCompAux00(xuu49, GT) → GT
new_lt7(xuu400, xuu30) → new_esEs12(new_compare6(xuu400, xuu30))
new_ltEs21(xuu77, xuu78, app(app(ty_Either, chg), chh)) → new_ltEs16(xuu77, xuu78, chg, chh)
new_esEs39(xuu40001, xuu3001, app(app(ty_@2, fhg), fhh)) → new_esEs19(xuu40001, xuu3001, fhg, fhh)
new_primCmpInt(Pos(Zero), Pos(Zero)) → EQ
new_ltEs17(@2(xuu550, xuu551), @2(xuu560, xuu561), dd, de) → new_pePe(new_lt11(xuu550, xuu560, dd), new_asAs(new_esEs27(xuu550, xuu560, dd), new_ltEs19(xuu551, xuu561, de)))
new_esEs5(xuu4002, xuu302, ty_Bool) → new_esEs15(xuu4002, xuu302)
new_esEs39(xuu40001, xuu3001, app(ty_[], fhb)) → new_esEs14(xuu40001, xuu3001, fhb)
new_esEs4(xuu4000, xuu300, ty_Int) → new_esEs24(xuu4000, xuu300)
new_esEs39(xuu40001, xuu3001, ty_Double) → new_esEs16(xuu40001, xuu3001)
new_primCmpInt(Neg(Succ(xuu40000)), Pos(xuu300)) → LT
new_esEs20(Float(xuu40000, xuu40001), Float(xuu3000, xuu3001)) → new_esEs24(new_sr(xuu40000, xuu3000), new_sr(xuu40001, xuu3001))
new_esEs15(False, False) → True
new_esEs31(xuu40000, xuu3000, ty_Int) → new_esEs24(xuu40000, xuu3000)
new_compare26(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, False, ccg, cch, cda) → new_compare111(xuu108, xuu109, xuu110, xuu111, xuu112, xuu113, new_lt20(xuu108, xuu111, ccg), new_asAs(new_esEs33(xuu108, xuu111, ccg), new_pePe(new_lt19(xuu109, xuu112, cch), new_asAs(new_esEs32(xuu109, xuu112, cch), new_ltEs20(xuu110, xuu113, cda)))), ccg, cch, cda)

The set Q consists of the following terms:

new_esEs21(Just(x0), Just(x1), app(ty_[], x2))
new_ltEs18(x0, x1, ty_Int)
new_esEs31(x0, x1, app(ty_Ratio, x2))
new_esEs27(x0, x1, app(ty_Ratio, x2))
new_lt11(x0, x1, ty_Float)
new_gt(x0, x1, app(ty_Ratio, x2))
new_primMulNat0(Zero, Succ(x0))
new_compare10(x0, x1, x2, x3, x4, x5, False, x6, x7, x8)
new_ltEs20(x0, x1, app(app(ty_Either, x2), x3))
new_primEqInt(Neg(Succ(x0)), Neg(Zero))
new_ltEs16(Right(x0), Right(x1), x2, ty_Float)
new_primMinusNat0(Zero, Zero)
new_mkBalBranch6MkBalBranch4(Branch(x0, x1, x2, x3, x4), x5, x6, x7, True, x8, x9)
new_esEs6(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs16(Left(x0), Left(x1), ty_Char, x2)
new_esEs39(x0, x1, ty_@0)
new_esEs36(x0, x1, ty_Float)
new_esEs21(Just(x0), Just(x1), ty_Char)
new_esEs8(x0, x1, ty_Float)
new_mkBalBranch6MkBalBranch11(x0, x1, x2, x3, x4, x5, x6, Branch(x7, x8, x9, x10, x11), False, x12, x13)
new_esEs11(x0, x1, app(ty_Ratio, x2))
new_esEs37(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs4(x0, x1)
new_lt20(x0, x1, app(ty_[], x2))
new_primCompAux0(x0, x1, x2, x3)
new_lt11(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs27(x0, x1, ty_Int)
new_esEs36(x0, x1, app(ty_Ratio, x2))
new_esEs21(Just(x0), Just(x1), app(app(ty_Either, x2), x3))
new_esEs21(Just(x0), Just(x1), app(ty_Ratio, x2))
new_primEqInt(Pos(Zero), Pos(Succ(x0)))
new_esEs36(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs34(x0, x1, app(ty_Maybe, x2))
new_compare13(x0, x1, x2, x3, True, x4, x5, x6)
new_compare([], [], x0)
new_esEs15(True, True)
new_esEs11(x0, x1, ty_Int)
new_ltEs16(Left(x0), Left(x1), ty_Double, x2)
new_esEs5(x0, x1, app(app(ty_@2, x2), x3))
new_esEs30(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs5(x0, x1, app(ty_[], x2))
new_esEs25(Right(x0), Right(x1), x2, app(app(ty_Either, x3), x4))
new_esEs21(Nothing, Nothing, x0)
new_ltEs15(x0, x1)
new_esEs40(x0, x1, app(ty_[], x2))
new_compare31(x0, x1, ty_Char)
new_esEs38(x0, x1, app(ty_Maybe, x2))
new_esEs40(x0, x1, app(ty_Maybe, x2))
new_lt20(x0, x1, app(ty_Maybe, x2))
new_primPlusInt(Neg(x0), Neg(x1))
new_ltEs16(Left(x0), Left(x1), ty_Int, x2)
new_esEs35(x0, x1, app(ty_Ratio, x2))
new_ltEs24(x0, x1, ty_Int)
new_ltEs14(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)
new_compare(:(x0, x1), [], x2)
new_esEs6(x0, x1, ty_Double)
new_esEs35(x0, x1, ty_Bool)
new_ltEs8(Just(x0), Just(x1), app(app(ty_@2, x2), x3))
new_lt19(x0, x1, app(app(ty_@2, x2), x3))
new_esEs32(x0, x1, app(ty_[], x2))
new_esEs34(x0, x1, ty_Double)
new_ltEs24(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs8(Just(x0), Just(x1), ty_Char)
new_esEs11(x0, x1, app(ty_Maybe, x2))
new_lt5(x0, x1, x2, x3, x4)
new_esEs25(Left(x0), Left(x1), ty_Float, x2)
new_esEs25(Right(x0), Right(x1), x2, ty_Char)
new_compare31(x0, x1, ty_Integer)
new_mkBranchResult(x0, x1, x2, x3, x4, x5)
new_ltEs24(x0, x1, app(ty_Ratio, x2))
new_compare17(GT, GT)
new_esEs33(x0, x1, ty_Double)
new_addToFM_C20(x0, x1, x2, x3, x4, x5, x6, False, x7, x8)
new_compare8(@0, @0)
new_esEs25(Right(x0), Right(x1), x2, ty_Bool)
new_esEs38(x0, x1, app(ty_[], x2))
new_esEs6(x0, x1, app(app(ty_Either, x2), x3))
new_esEs25(Left(x0), Right(x1), x2, x3)
new_esEs25(Right(x0), Left(x1), x2, x3)
new_primMulInt(Neg(x0), Neg(x1))
new_lt24(x0, x1, ty_Bool)
new_esEs6(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs21(x0, x1, app(app(ty_Either, x2), x3))
new_esEs13(LT, GT)
new_esEs13(GT, LT)
new_esEs36(x0, x1, ty_Bool)
new_esEs39(x0, x1, app(ty_Maybe, x2))
new_esEs35(x0, x1, ty_@0)
new_compare16(Just(x0), Just(x1), x2)
new_lt11(x0, x1, ty_Bool)
new_esEs22(@0, @0)
new_ltEs5(EQ, LT)
new_ltEs5(LT, EQ)
new_ltEs23(x0, x1, app(ty_[], x2))
new_primPlusNat0(Zero, Succ(x0))
new_esEs21(Just(x0), Just(x1), app(app(ty_@2, x2), x3))
new_esEs25(Left(x0), Left(x1), ty_Ordering, x2)
new_mkBalBranch6MkBalBranch5(x0, x1, x2, x3, False, x4, x5)
new_ltEs20(x0, x1, ty_Int)
new_compare11(Integer(x0), Integer(x1))
new_primEqNat0(Zero, Zero)
new_ltEs8(Just(x0), Just(x1), ty_@0)
new_esEs32(x0, x1, ty_Double)
new_esEs37(x0, x1, app(app(ty_@2, x2), x3))
new_esEs21(Just(x0), Just(x1), ty_Bool)
new_esEs11(x0, x1, ty_@0)
new_esEs11(x0, x1, ty_Double)
new_esEs9(x0, x1, ty_Integer)
new_compare26(x0, x1, x2, x3, x4, x5, False, x6, x7, x8)
new_ltEs16(Left(x0), Left(x1), ty_@0, x2)
new_esEs13(EQ, GT)
new_esEs13(GT, EQ)
new_primMinusNat0(Zero, Succ(x0))
new_esEs35(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs16(Right(x0), Right(x1), x2, app(app(ty_@2, x3), x4))
new_primMulNat0(Zero, Zero)
new_ltEs24(x0, x1, ty_Double)
new_esEs36(x0, x1, ty_Double)
new_esEs12(LT)
new_lt20(x0, x1, ty_Int)
new_ltEs16(Left(x0), Left(x1), app(ty_Maybe, x2), x3)
new_ltEs24(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt11(x0, x1, ty_Double)
new_lt22(x0, x1, ty_Bool)
new_esEs27(x0, x1, ty_Bool)
new_compare13(x0, x1, x2, x3, False, x4, x5, x6)
new_esEs5(x0, x1, app(ty_Maybe, x2))
new_esEs6(x0, x1, ty_Int)
new_lt20(x0, x1, ty_Char)
new_ltEs16(Left(x0), Left(x1), app(app(ty_@2, x2), x3), x4)
new_lt24(x0, x1, ty_Double)
new_esEs30(x0, x1, ty_Bool)
new_esEs25(Right(x0), Right(x1), x2, app(app(app(ty_@3, x3), x4), x5))
new_ltEs21(x0, x1, ty_Integer)
new_lt20(x0, x1, ty_@0)
new_lt13(x0, x1)
new_esEs39(x0, x1, ty_Ordering)
new_primCmpNat0(Succ(x0), Zero)
new_lt20(x0, x1, ty_Bool)
new_ltEs16(Right(x0), Right(x1), x2, app(app(ty_Either, x3), x4))
new_ltEs16(Right(x0), Right(x1), x2, ty_Double)
new_compare15(:%(x0, x1), :%(x2, x3), ty_Int)
new_esEs19(@2(x0, x1), @2(x2, x3), x4, x5)
new_compare112(x0, x1, False, x2, x3)
new_ltEs19(x0, x1, app(ty_Maybe, x2))
new_ltEs21(x0, x1, ty_@0)
new_lt22(x0, x1, app(ty_[], x2))
new_lt11(x0, x1, ty_Integer)
new_compare17(EQ, GT)
new_compare17(GT, EQ)
new_esEs39(x0, x1, ty_Integer)
new_esEs33(x0, x1, ty_Integer)
new_sr(x0, x1)
new_esEs31(x0, x1, ty_Int)
new_esEs25(Right(x0), Right(x1), x2, app(app(ty_@2, x3), x4))
new_ltEs18(x0, x1, ty_Char)
new_compare29(x0, x1, True, x2, x3)
new_esEs8(x0, x1, ty_Ordering)
new_ltEs16(Right(x0), Right(x1), x2, app(ty_[], x3))
new_ltEs22(x0, x1, app(ty_Ratio, x2))
new_esEs4(x0, x1, ty_Double)
new_esEs30(x0, x1, ty_@0)
new_esEs8(x0, x1, app(app(ty_Either, x2), x3))
new_esEs32(x0, x1, ty_Integer)
new_esEs25(Right(x0), Right(x1), x2, app(ty_[], x3))
new_primEqNat0(Zero, Succ(x0))
new_esEs7(x0, x1, ty_Int)
new_compare31(x0, x1, ty_Int)
new_esEs6(x0, x1, app(ty_Maybe, x2))
new_lt22(x0, x1, ty_Integer)
new_ltEs20(x0, x1, ty_Float)
new_esEs27(x0, x1, ty_Float)
new_esEs40(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs22(x0, x1, ty_Char)
new_esEs30(x0, x1, ty_Float)
new_esEs6(x0, x1, app(ty_[], x2))
new_lt11(x0, x1, ty_Ordering)
new_addToFM_C0(EmptyFM, x0, x1, x2, x3)
new_ltEs10(False, False)
new_lt22(x0, x1, app(ty_Maybe, x2))
new_esEs8(x0, x1, app(app(ty_@2, x2), x3))
new_esEs9(x0, x1, app(ty_Maybe, x2))
new_esEs5(x0, x1, ty_Integer)
new_esEs34(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs34(x0, x1, ty_Integer)
new_lt21(x0, x1, app(app(ty_Either, x2), x3))
new_esEs9(x0, x1, ty_Ordering)
new_compare110(x0, x1, False, x2, x3)
new_esEs25(Left(x0), Left(x1), app(ty_Ratio, x2), x3)
new_esEs27(x0, x1, ty_Char)
new_compare15(:%(x0, x1), :%(x2, x3), ty_Integer)
new_esEs35(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs24(x0, x1, ty_@0)
new_primCompAux00(x0, EQ)
new_ltEs16(Right(x0), Right(x1), x2, ty_Bool)
new_esEs25(Right(x0), Right(x1), x2, ty_Int)
new_ltEs19(x0, x1, ty_Ordering)
new_esEs8(x0, x1, app(ty_Ratio, x2))
new_compare25(x0, x1, False, x2)
new_lt11(x0, x1, app(ty_Maybe, x2))
new_esEs39(x0, x1, ty_Bool)
new_esEs36(x0, x1, ty_Int)
new_ltEs16(Right(x0), Right(x1), x2, ty_Int)
new_ltEs19(x0, x1, ty_Float)
new_compare31(x0, x1, ty_Ordering)
new_esEs30(x0, x1, app(ty_[], x2))
new_lt23(x0, x1, ty_Float)
new_lt19(x0, x1, ty_@0)
new_lt21(x0, x1, ty_Ordering)
new_ltEs23(x0, x1, ty_Int)
new_ltEs23(x0, x1, app(ty_Maybe, x2))
new_ltEs23(x0, x1, ty_Double)
new_lt24(x0, x1, app(app(ty_@2, x2), x3))
new_esEs20(Float(x0, x1), Float(x2, x3))
new_esEs40(x0, x1, ty_Double)
new_esEs7(x0, x1, ty_Ordering)
new_ltEs16(Left(x0), Left(x1), app(ty_Ratio, x2), x3)
new_esEs38(x0, x1, ty_Integer)
new_ltEs21(x0, x1, app(ty_[], x2))
new_esEs32(x0, x1, app(ty_Maybe, x2))
new_esEs7(x0, x1, ty_Bool)
new_esEs37(x0, x1, ty_Integer)
new_compare27(Left(x0), Left(x1), x2, x3)
new_lt22(x0, x1, ty_Int)
new_mkBalBranch6MkBalBranch11(x0, x1, x2, x3, x4, x5, x6, x7, True, x8, x9)
new_esEs7(x0, x1, ty_@0)
new_ltEs8(Nothing, Nothing, x0)
new_ltEs20(x0, x1, ty_Bool)
new_esEs25(Left(x0), Left(x1), ty_Double, x2)
new_lt23(x0, x1, ty_Double)
new_esEs39(x0, x1, ty_Int)
new_esEs21(Just(x0), Just(x1), ty_Float)
new_lt4(x0, x1, x2, x3)
new_gt(x0, x1, ty_Float)
new_compare18(x0, x1, False, x2)
new_compare31(x0, x1, ty_Bool)
new_lt21(x0, x1, app(ty_Maybe, x2))
new_lt19(x0, x1, ty_Int)
new_esEs25(Left(x0), Left(x1), ty_Int, x2)
new_compare31(x0, x1, app(ty_Ratio, x2))
new_esEs29(x0, x1, ty_Int)
new_esEs28(x0, x1, ty_Int)
new_esEs35(x0, x1, app(ty_[], x2))
new_esEs10(x0, x1, ty_Double)
new_esEs4(x0, x1, app(app(ty_Either, x2), x3))
new_primCmpInt(Pos(Zero), Pos(Zero))
new_esEs15(True, False)
new_esEs15(False, True)
new_esEs27(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs16(Left(x0), Left(x1), ty_Integer, x2)
new_lt21(x0, x1, ty_Double)
new_lt24(x0, x1, ty_@0)
new_esEs24(x0, x1)
new_primEqInt(Neg(Zero), Neg(Zero))
new_ltEs6(x0, x1)
new_esEs10(x0, x1, ty_Ordering)
new_esEs21(Just(x0), Just(x1), app(ty_Maybe, x2))
new_esEs25(Right(x0), Right(x1), x2, app(ty_Maybe, x3))
new_esEs5(x0, x1, ty_Double)
new_ltEs19(x0, x1, app(ty_[], x2))
new_esEs37(x0, x1, ty_Bool)
new_lt23(x0, x1, ty_Bool)
new_esEs8(x0, x1, ty_Integer)
new_esEs31(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs6(x0, x1, ty_Char)
new_esEs25(Left(x0), Left(x1), ty_@0, x2)
new_esEs11(x0, x1, app(app(ty_Either, x2), x3))
new_primCmpNat0(Zero, Succ(x0))
new_gt(x0, x1, app(ty_Maybe, x2))
new_compare210(x0, x1, x2, x3, True, x4, x5)
new_ltEs9(x0, x1, x2)
new_esEs11(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs18(x0, x1, ty_Double)
new_compare16(Nothing, Nothing, x0)
new_ltEs19(x0, x1, ty_Int)
new_esEs38(x0, x1, app(app(ty_@2, x2), x3))
new_esEs30(x0, x1, app(app(ty_@2, x2), x3))
new_esEs37(x0, x1, ty_@0)
new_esEs31(x0, x1, ty_@0)
new_lt23(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs39(x0, x1, app(app(ty_@2, x2), x3))
new_esEs31(x0, x1, app(app(ty_@2, x2), x3))
new_esEs8(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs8(Just(x0), Just(x1), app(app(app(ty_@3, x2), x3), x4))
new_primEqInt(Neg(Succ(x0)), Neg(Succ(x1)))
new_lt19(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs11(x0, x1, ty_Char)
new_esEs8(x0, x1, ty_Char)
new_lt17(x0, x1)
new_ltEs5(GT, LT)
new_ltEs5(LT, GT)
new_lt23(x0, x1, app(ty_Ratio, x2))
new_compare25(x0, x1, True, x2)
new_compare210(x0, x1, x2, x3, False, x4, x5)
new_esEs40(x0, x1, ty_Integer)
new_lt21(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs8(Just(x0), Nothing, x1)
new_ltEs12(x0, x1)
new_lt18(x0, x1, x2, x3)
new_ltEs11(x0, x1)
new_lt21(x0, x1, ty_@0)
new_esEs31(x0, x1, app(ty_[], x2))
new_esEs5(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt21(x0, x1, ty_Char)
new_esEs33(x0, x1, app(app(ty_@2, x2), x3))
new_primEqInt(Neg(Zero), Neg(Succ(x0)))
new_lt20(x0, x1, app(ty_Ratio, x2))
new_esEs36(x0, x1, app(app(ty_@2, x2), x3))
new_esEs6(x0, x1, ty_@0)
new_ltEs10(True, True)
new_ltEs22(x0, x1, ty_Bool)
new_ltEs16(Right(x0), Right(x1), x2, ty_Char)
new_esEs14(:(x0, x1), :(x2, x3), x4)
new_esEs33(x0, x1, app(ty_Ratio, x2))
new_primEqInt(Pos(Zero), Neg(Succ(x0)))
new_primEqInt(Neg(Zero), Pos(Succ(x0)))
new_ltEs24(x0, x1, app(app(ty_@2, x2), x3))
new_lt21(x0, x1, ty_Bool)
new_esEs36(x0, x1, ty_Char)
new_esEs13(LT, LT)
new_esEs38(x0, x1, ty_Int)
new_compare111(x0, x1, x2, x3, x4, x5, False, x6, x7, x8, x9)
new_primEqNat0(Succ(x0), Succ(x1))
new_esEs21(Just(x0), Just(x1), ty_Integer)
new_ltEs5(GT, GT)
new_esEs7(x0, x1, ty_Float)
new_mkBalBranch6MkBalBranch3(x0, x1, x2, Branch(x3, x4, x5, x6, x7), True, x8, x9)
new_compare12(Double(x0, x1), Double(x2, x3))
new_lt6(x0, x1)
new_gt(x0, x1, ty_Int)
new_esEs23(Char(x0), Char(x1))
new_primEqInt(Pos(Succ(x0)), Pos(Zero))
new_esEs34(x0, x1, app(app(ty_Either, x2), x3))
new_esEs36(x0, x1, ty_Integer)
new_esEs29(x0, x1, ty_Integer)
new_esEs31(x0, x1, ty_Char)
new_lt24(x0, x1, ty_Char)
new_gt(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs26(Integer(x0), Integer(x1))
new_esEs32(x0, x1, app(app(ty_Either, x2), x3))
new_not(True)
new_esEs31(x0, x1, ty_Float)
new_ltEs21(x0, x1, ty_Ordering)
new_primCmpInt(Neg(Zero), Neg(Succ(x0)))
new_esEs34(x0, x1, app(app(ty_@2, x2), x3))
new_addToFM_C10(x0, x1, x2, x3, x4, x5, x6, False, x7, x8)
new_sizeFM(EmptyFM, x0, x1)
new_esEs4(x0, x1, app(ty_[], x2))
new_esEs8(x0, x1, ty_Double)
new_primCmpInt(Pos(Zero), Neg(Zero))
new_primCmpInt(Neg(Zero), Pos(Zero))
new_ltEs18(x0, x1, ty_Float)
new_esEs6(x0, x1, ty_Float)
new_not(False)
new_esEs18(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)
new_compare17(LT, LT)
new_esEs5(x0, x1, ty_@0)
new_esEs12(EQ)
new_lt22(x0, x1, app(ty_Ratio, x2))
new_esEs39(x0, x1, ty_Double)
new_esEs30(x0, x1, ty_Int)
new_esEs33(x0, x1, app(ty_[], x2))
new_ltEs8(Just(x0), Just(x1), ty_Ordering)
new_ltEs18(x0, x1, ty_@0)
new_ltEs24(x0, x1, ty_Integer)
new_lt19(x0, x1, ty_Float)
new_esEs27(x0, x1, app(app(ty_Either, x2), x3))
new_esEs9(x0, x1, app(ty_[], x2))
new_ltEs16(Right(x0), Right(x1), x2, ty_Integer)
new_primEqNat0(Succ(x0), Zero)
new_esEs4(x0, x1, ty_Ordering)
new_lt11(x0, x1, app(ty_Ratio, x2))
new_esEs35(x0, x1, ty_Ordering)
new_lt7(x0, x1)
new_esEs11(x0, x1, ty_Bool)
new_gt(x0, x1, ty_Bool)
new_esEs34(x0, x1, ty_Int)
new_lt23(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs10(True, False)
new_ltEs10(False, True)
new_esEs10(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs8(Just(x0), Just(x1), app(ty_[], x2))
new_esEs38(x0, x1, ty_Char)
new_mkBranch(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)
new_esEs10(x0, x1, app(app(ty_Either, x2), x3))
new_compare27(Right(x0), Right(x1), x2, x3)
new_primCompAux00(x0, LT)
new_esEs27(x0, x1, ty_Integer)
new_esEs40(x0, x1, ty_@0)
new_esEs9(x0, x1, app(app(ty_Either, x2), x3))
new_esEs34(x0, x1, ty_Bool)
new_esEs25(Right(x0), Right(x1), x2, ty_Float)
new_esEs32(x0, x1, ty_Int)
new_esEs12(GT)
new_esEs37(x0, x1, app(ty_[], x2))
new_esEs25(Right(x0), Right(x1), x2, ty_@0)
new_ltEs18(x0, x1, app(ty_Maybe, x2))
new_compare19(Char(x0), Char(x1))
new_ltEs22(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs22(x0, x1, ty_Int)
new_esEs39(x0, x1, ty_Float)
new_esEs21(Just(x0), Just(x1), app(app(app(ty_@3, x2), x3), x4))
new_primEqInt(Pos(Zero), Pos(Zero))
new_esEs6(x0, x1, ty_Integer)
new_compare31(x0, x1, ty_Double)
new_ltEs16(Right(x0), Right(x1), x2, app(ty_Ratio, x3))
new_lt20(x0, x1, app(app(ty_Either, x2), x3))
new_gt(x0, x1, ty_Char)
new_ltEs8(Just(x0), Just(x1), app(ty_Ratio, x2))
new_primCmpInt(Pos(Zero), Neg(Succ(x0)))
new_primCmpInt(Neg(Zero), Pos(Succ(x0)))
new_lt12(x0, x1, x2)
new_esEs5(x0, x1, ty_Char)
new_esEs7(x0, x1, ty_Char)
new_esEs33(x0, x1, ty_Bool)
new_esEs40(x0, x1, ty_Ordering)
new_primCmpInt(Pos(Zero), Pos(Succ(x0)))
new_esEs7(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs32(x0, x1, app(ty_Ratio, x2))
new_esEs37(x0, x1, ty_Ordering)
new_esEs9(x0, x1, ty_Bool)
new_esEs4(x0, x1, ty_Bool)
new_ltEs22(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs5(LT, LT)
new_ltEs23(x0, x1, ty_Bool)
new_esEs25(Left(x0), Left(x1), app(app(app(ty_@3, x2), x3), x4), x5)
new_compare31(x0, x1, app(ty_Maybe, x2))
new_esEs4(x0, x1, ty_Integer)
new_primMulInt(Pos(x0), Pos(x1))
new_esEs21(Just(x0), Just(x1), ty_@0)
new_esEs7(x0, x1, ty_Integer)
new_lt19(x0, x1, app(ty_[], x2))
new_esEs7(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs22(x0, x1, ty_@0)
new_ltEs21(x0, x1, ty_Double)
new_ltEs20(x0, x1, app(ty_Maybe, x2))
new_lt19(x0, x1, ty_Ordering)
new_compare31(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs25(Left(x0), Left(x1), ty_Bool, x2)
new_compare17(EQ, EQ)
new_ltEs13(x0, x1)
new_esEs40(x0, x1, ty_Char)
new_lt19(x0, x1, ty_Bool)
new_esEs25(Right(x0), Right(x1), x2, ty_Double)
new_esEs4(x0, x1, ty_Int)
new_ltEs19(x0, x1, ty_Char)
new_esEs39(x0, x1, ty_Char)
new_ltEs20(x0, x1, ty_Integer)
new_ltEs18(x0, x1, app(app(ty_@2, x2), x3))
new_esEs33(x0, x1, ty_Float)
new_mkBalBranch(x0, x1, x2, x3, x4, x5)
new_ltEs21(x0, x1, app(ty_Maybe, x2))
new_ltEs23(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs16(Left(x0), Left(x1), app(app(app(ty_@3, x2), x3), x4), x5)
new_lt22(x0, x1, ty_Ordering)
new_esEs13(GT, GT)
new_ltEs8(Just(x0), Just(x1), ty_Int)
new_mkBalBranch6MkBalBranch5(x0, x1, x2, x3, True, x4, x5)
new_esEs11(x0, x1, ty_Integer)
new_esEs10(x0, x1, app(ty_Maybe, x2))
new_lt11(x0, x1, app(app(ty_Either, x2), x3))
new_pePe(True, x0)
new_lt19(x0, x1, app(app(ty_Either, x2), x3))
new_esEs30(x0, x1, ty_Integer)
new_addToFM_C0(Branch(x0, x1, x2, x3, x4), x5, x6, x7, x8)
new_esEs10(x0, x1, ty_@0)
new_ltEs16(Left(x0), Left(x1), app(ty_[], x2), x3)
new_esEs7(x0, x1, app(app(ty_@2, x2), x3))
new_esEs37(x0, x1, ty_Int)
new_gt(x0, x1, app(app(ty_@2, x2), x3))
new_gt0(x0, x1)
new_ltEs23(x0, x1, ty_Integer)
new_gt(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs24(x0, x1, app(ty_Maybe, x2))
new_lt21(x0, x1, ty_Int)
new_ltEs8(Nothing, Just(x0), x1)
new_esEs35(x0, x1, ty_Int)
new_lt24(x0, x1, ty_Integer)
new_ltEs21(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs8(Just(x0), Just(x1), app(app(ty_Either, x2), x3))
new_gt(x0, x1, ty_Integer)
new_esEs25(Left(x0), Left(x1), ty_Integer, x2)
new_compare110(x0, x1, True, x2, x3)
new_ltEs5(GT, EQ)
new_ltEs5(EQ, GT)
new_esEs15(False, False)
new_esEs38(x0, x1, ty_Double)
new_esEs4(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs16(Double(x0, x1), Double(x2, x3))
new_esEs4(x0, x1, ty_@0)
new_esEs37(x0, x1, app(ty_Maybe, x2))
new_esEs35(x0, x1, ty_Integer)
new_lt24(x0, x1, ty_Ordering)
new_primCmpInt(Neg(Succ(x0)), Neg(x1))
new_ltEs21(x0, x1, ty_Char)
new_esEs32(x0, x1, ty_Char)
new_lt22(x0, x1, app(app(ty_@2, x2), x3))
new_esEs21(Just(x0), Nothing, x1)
new_sizeFM(Branch(x0, x1, x2, x3, x4), x5, x6)
new_compare30(False, False)
new_ltEs19(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_mkBalBranch6MkBalBranch3(x0, x1, x2, x3, False, x4, x5)
new_esEs38(x0, x1, app(ty_Ratio, x2))
new_gt(x0, x1, ty_Double)
new_lt11(x0, x1, ty_@0)
new_esEs38(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_lt21(x0, x1, app(app(ty_@2, x2), x3))
new_lt24(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs38(x0, x1, ty_@0)
new_lt22(x0, x1, ty_Double)
new_lt11(x0, x1, ty_Int)
new_ltEs18(x0, x1, ty_Bool)
new_esEs36(x0, x1, app(ty_[], x2))
new_gt(x0, x1, ty_@0)
new_compare10(x0, x1, x2, x3, x4, x5, True, x6, x7, x8)
new_ltEs20(x0, x1, ty_Ordering)
new_esEs7(x0, x1, app(ty_[], x2))
new_ltEs18(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs5(x0, x1, app(ty_Ratio, x2))
new_ltEs16(Right(x0), Right(x1), x2, ty_@0)
new_addToFM_C10(x0, x1, x2, x3, x4, x5, x6, True, x7, x8)
new_lt16(x0, x1)
new_esEs4(x0, x1, app(ty_Ratio, x2))
new_esEs11(x0, x1, ty_Ordering)
new_esEs34(x0, x1, ty_Float)
new_lt19(x0, x1, ty_Integer)
new_ltEs20(x0, x1, ty_Char)
new_ltEs20(x0, x1, app(ty_Ratio, x2))
new_ltEs22(x0, x1, app(ty_Maybe, x2))
new_ltEs22(x0, x1, ty_Float)
new_compare111(x0, x1, x2, x3, x4, x5, True, x6, x7, x8, x9)
new_esEs27(x0, x1, ty_Double)
new_esEs40(x0, x1, ty_Int)
new_lt20(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs39(x0, x1, app(app(ty_Either, x2), x3))
new_lt21(x0, x1, app(ty_Ratio, x2))
new_esEs38(x0, x1, ty_Float)
new_compare17(GT, LT)
new_compare17(LT, GT)
new_lt23(x0, x1, app(ty_Maybe, x2))
new_ltEs24(x0, x1, ty_Bool)
new_lt24(x0, x1, ty_Float)
new_esEs27(x0, x1, app(ty_Maybe, x2))
new_lt19(x0, x1, ty_Char)
new_esEs27(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs24(x0, x1, ty_Float)
new_ltEs19(x0, x1, ty_Integer)
new_esEs27(x0, x1, ty_Ordering)
new_ltEs21(x0, x1, ty_Float)
new_gt(x0, x1, ty_Ordering)
new_esEs38(x0, x1, ty_Ordering)
new_esEs21(Just(x0), Just(x1), ty_Double)
new_primMulNat0(Succ(x0), Zero)
new_esEs37(x0, x1, ty_Char)
new_sIZE_RATIO
new_esEs9(x0, x1, ty_Char)
new_ltEs16(Left(x0), Left(x1), ty_Float, x2)
new_lt24(x0, x1, app(ty_[], x2))
new_esEs9(x0, x1, app(app(ty_@2, x2), x3))
new_esEs4(x0, x1, ty_Float)
new_sr0(Integer(x0), Integer(x1))
new_esEs35(x0, x1, ty_Double)
new_ltEs21(x0, x1, ty_Bool)
new_esEs37(x0, x1, ty_Float)
new_esEs30(x0, x1, ty_Ordering)
new_lt19(x0, x1, app(ty_Maybe, x2))
new_esEs13(EQ, EQ)
new_addListToFM_CAdd(x0, @2(x1, x2), x3, x4)
new_mkBalBranch6Size_r(x0, x1, x2, x3, x4, x5)
new_esEs36(x0, x1, ty_Ordering)
new_primMulInt(Neg(x0), Pos(x1))
new_primMulInt(Pos(x0), Neg(x1))
new_lt23(x0, x1, app(app(ty_Either, x2), x3))
new_compare31(x0, x1, app(ty_[], x2))
new_ltEs19(x0, x1, app(app(ty_@2, x2), x3))
new_compare5(@2(x0, x1), @2(x2, x3), x4, x5)
new_esEs41(GT)
new_ltEs19(x0, x1, ty_Bool)
new_primCmpNat0(Succ(x0), Succ(x1))
new_compare29(x0, x1, False, x2, x3)
new_compare28(x0, x1, True, x2, x3)
new_emptyFM(x0, x1)
new_lt11(x0, x1, ty_Char)
new_esEs32(x0, x1, app(app(ty_@2, x2), x3))
new_esEs11(x0, x1, app(ty_[], x2))
new_esEs10(x0, x1, app(ty_[], x2))
new_ltEs8(Just(x0), Just(x1), ty_Integer)
new_compare7(x0, x1)
new_esEs34(x0, x1, ty_@0)
new_esEs39(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_mkBalBranch6MkBalBranch01(x0, x1, x2, x3, x4, x5, x6, x7, True, x8, x9)
new_esEs39(x0, x1, app(ty_Ratio, x2))
new_ltEs23(x0, x1, ty_Char)
new_esEs14(:(x0, x1), [], x2)
new_compare31(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs18(x0, x1, app(app(ty_Either, x2), x3))
new_compare14(x0, x1, x2, x3, True, x4, x5)
new_esEs5(x0, x1, app(app(ty_Either, x2), x3))
new_esEs32(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs7(x0, x1, app(ty_Ratio, x2))
new_primEqInt(Pos(Succ(x0)), Pos(Succ(x1)))
new_mkBranch0(x0, x1, x2, x3, x4, x5, x6)
new_ltEs23(x0, x1, app(ty_Ratio, x2))
new_esEs32(x0, x1, ty_Bool)
new_primPlusNat0(Zero, Zero)
new_esEs32(x0, x1, ty_Float)
new_esEs10(x0, x1, ty_Int)
new_esEs9(x0, x1, ty_@0)
new_esEs14([], :(x0, x1), x2)
new_esEs9(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_asAs(True, x0)
new_ltEs8(Just(x0), Just(x1), ty_Bool)
new_compare18(x0, x1, True, x2)
new_esEs32(x0, x1, ty_Ordering)
new_compare26(x0, x1, x2, x3, x4, x5, True, x6, x7, x8)
new_esEs31(x0, x1, ty_Ordering)
new_esEs11(x0, x1, app(app(ty_@2, x2), x3))
new_primCmpInt(Neg(Zero), Neg(Zero))
new_esEs8(x0, x1, ty_@0)
new_esEs38(x0, x1, app(app(ty_Either, x2), x3))
new_lt9(x0, x1, x2)
new_pePe(False, x0)
new_ltEs16(Left(x0), Left(x1), ty_Bool, x2)
new_lt14(x0, x1)
new_esEs32(x0, x1, ty_@0)
new_esEs41(EQ)
new_ltEs20(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs19(x0, x1, ty_Double)
new_ltEs22(x0, x1, ty_Ordering)
new_esEs40(x0, x1, ty_Bool)
new_esEs31(x0, x1, app(ty_Maybe, x2))
new_esEs8(x0, x1, app(ty_Maybe, x2))
new_ltEs20(x0, x1, app(ty_[], x2))
new_esEs4(x0, x1, app(ty_Maybe, x2))
new_compare16(Just(x0), Nothing, x1)
new_esEs33(x0, x1, ty_@0)
new_lt23(x0, x1, ty_Int)
new_esEs17(:%(x0, x1), :%(x2, x3), x4)
new_esEs31(x0, x1, ty_Bool)
new_ltEs8(Just(x0), Just(x1), ty_Double)
new_esEs37(x0, x1, app(app(ty_Either, x2), x3))
new_esEs10(x0, x1, ty_Char)
new_ltEs19(x0, x1, app(ty_Ratio, x2))
new_ltEs23(x0, x1, ty_Float)
new_primEqInt(Pos(Succ(x0)), Neg(x1))
new_primEqInt(Neg(Succ(x0)), Pos(x1))
new_lt23(x0, x1, ty_Integer)
new_lt19(x0, x1, app(ty_Ratio, x2))
new_ltEs19(x0, x1, ty_@0)
new_ltEs23(x0, x1, app(app(ty_Either, x2), x3))
new_primCmpInt(Neg(Succ(x0)), Pos(x1))
new_primCmpInt(Pos(Succ(x0)), Neg(x1))
new_lt24(x0, x1, app(ty_Ratio, x2))
new_ltEs22(x0, x1, app(app(ty_@2, x2), x3))
new_primPlusNat0(Succ(x0), Zero)
new_primPlusInt(Pos(x0), Pos(x1))
new_lt23(x0, x1, ty_@0)
new_ltEs21(x0, x1, app(ty_Ratio, x2))
new_lt24(x0, x1, app(app(ty_Either, x2), x3))
new_primEqInt(Neg(Zero), Pos(Zero))
new_primEqInt(Pos(Zero), Neg(Zero))
new_lt20(x0, x1, ty_Ordering)
new_esEs9(x0, x1, app(ty_Ratio, x2))
new_ltEs18(x0, x1, app(ty_[], x2))
new_lt11(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs17(@2(x0, x1), @2(x2, x3), x4, x5)
new_mkBalBranch6MkBalBranch11(x0, x1, x2, x3, x4, x5, x6, EmptyFM, False, x7, x8)
new_compare28(x0, x1, False, x2, x3)
new_esEs21(Nothing, Just(x0), x1)
new_ltEs21(x0, x1, ty_Int)
new_esEs36(x0, x1, ty_@0)
new_ltEs16(Right(x0), Right(x1), x2, app(ty_Maybe, x3))
new_esEs14([], [], x0)
new_lt21(x0, x1, ty_Float)
new_compare112(x0, x1, True, x2, x3)
new_ltEs22(x0, x1, ty_Double)
new_esEs10(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs40(x0, x1, ty_Float)
new_esEs34(x0, x1, ty_Char)
new_compare16(Nothing, Just(x0), x1)
new_compare27(Right(x0), Left(x1), x2, x3)
new_compare27(Left(x0), Right(x1), x2, x3)
new_lt15(x0, x1)
new_esEs30(x0, x1, ty_Char)
new_mkBalBranch6MkBalBranch01(x0, x1, x2, Branch(x3, x4, x5, x6, x7), x8, x9, x10, x11, False, x12, x13)
new_esEs40(x0, x1, app(ty_Ratio, x2))
new_esEs6(x0, x1, app(ty_Ratio, x2))
new_lt23(x0, x1, ty_Char)
new_addToFM_C20(x0, x1, x2, x3, x4, x5, x6, True, x7, x8)
new_esEs9(x0, x1, ty_Double)
new_ltEs24(x0, x1, ty_Char)
new_lt23(x0, x1, app(ty_[], x2))
new_compare31(x0, x1, ty_Float)
new_asAs(False, x0)
new_ltEs16(Left(x0), Left(x1), ty_Ordering, x2)
new_esEs10(x0, x1, ty_Float)
new_fsEs(x0)
new_mkBalBranch6MkBalBranch4(x0, x1, x2, x3, False, x4, x5)
new_lt22(x0, x1, app(app(ty_Either, x2), x3))
new_compare30(True, False)
new_compare30(False, True)
new_esEs31(x0, x1, app(app(ty_Either, x2), x3))
new_compare31(x0, x1, app(app(ty_@2, x2), x3))
new_esEs25(Left(x0), Left(x1), ty_Char, x2)
new_lt8(x0, x1, x2)
new_esEs21(Just(x0), Just(x1), ty_Int)
new_esEs35(x0, x1, ty_Float)
new_esEs27(x0, x1, ty_@0)
new_primCmpNat0(Zero, Zero)
new_esEs37(x0, x1, ty_Double)
new_esEs7(x0, x1, ty_Double)
new_esEs39(x0, x1, app(ty_[], x2))
new_esEs27(x0, x1, app(ty_[], x2))
new_ltEs8(Just(x0), Just(x1), ty_Float)
new_mkBalBranch6Size_l(x0, x1, x2, x3, x4, x5)
new_esEs25(Right(x0), Right(x1), x2, ty_Integer)
new_esEs31(x0, x1, ty_Integer)
new_lt11(x0, x1, app(ty_[], x2))
new_esEs36(x0, x1, app(app(ty_Either, x2), x3))
new_esEs25(Left(x0), Left(x1), app(app(ty_@2, x2), x3), x4)
new_esEs8(x0, x1, app(ty_[], x2))
new_compare17(EQ, LT)
new_compare17(LT, EQ)
new_esEs25(Left(x0), Left(x1), app(ty_Maybe, x2), x3)
new_lt20(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs20(x0, x1, ty_@0)
new_ltEs16(Left(x0), Right(x1), x2, x3)
new_compare9(@3(x0, x1, x2), @3(x3, x4, x5), x6, x7, x8)
new_ltEs16(Right(x0), Left(x1), x2, x3)
new_lt10(x0, x1)
new_lt23(x0, x1, ty_Ordering)
new_ltEs16(Left(x0), Left(x1), app(app(ty_Either, x2), x3), x4)
new_mkBalBranch6MkBalBranch3(x0, x1, x2, EmptyFM, True, x3, x4)
new_primPlusInt(Pos(x0), Neg(x1))
new_primPlusInt(Neg(x0), Pos(x1))
new_esEs38(x0, x1, ty_Bool)
new_ltEs18(x0, x1, ty_Ordering)
new_ltEs22(x0, x1, app(ty_[], x2))
new_ltEs20(x0, x1, ty_Double)
new_esEs5(x0, x1, ty_Bool)
new_mkBalBranch6MkBalBranch01(x0, x1, x2, EmptyFM, x3, x4, x5, x6, False, x7, x8)
new_lt21(x0, x1, ty_Integer)
new_compare(:(x0, x1), :(x2, x3), x4)
new_esEs41(LT)
new_esEs33(x0, x1, ty_Char)
new_esEs33(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs30(x0, x1, app(app(ty_Either, x2), x3))
new_esEs6(x0, x1, ty_Ordering)
new_lt21(x0, x1, app(ty_[], x2))
new_ltEs20(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs25(Left(x0), Left(x1), app(app(ty_Either, x2), x3), x4)
new_compare14(x0, x1, x2, x3, False, x4, x5)
new_compare31(x0, x1, ty_@0)
new_primPlusNat0(Succ(x0), Succ(x1))
new_esEs33(x0, x1, ty_Ordering)
new_esEs4(x0, x1, app(app(ty_@2, x2), x3))
new_lt22(x0, x1, ty_@0)
new_esEs33(x0, x1, app(app(ty_Either, x2), x3))
new_lt20(x0, x1, ty_Integer)
new_esEs5(x0, x1, ty_Ordering)
new_esEs13(EQ, LT)
new_esEs13(LT, EQ)
new_lt20(x0, x1, ty_Float)
new_lt19(x0, x1, ty_Double)
new_ltEs21(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs16(Right(x0), Right(x1), x2, app(app(app(ty_@3, x3), x4), x5))
new_compare6(Float(x0, x1), Float(x2, x3))
new_esEs5(x0, x1, ty_Float)
new_esEs21(Just(x0), Just(x1), ty_Ordering)
new_esEs33(x0, x1, app(ty_Maybe, x2))
new_esEs25(Left(x0), Left(x1), app(ty_[], x2), x3)
new_ltEs5(EQ, EQ)
new_ltEs23(x0, x1, ty_@0)
new_esEs9(x0, x1, ty_Float)
new_primMinusNat0(Succ(x0), Succ(x1))
new_esEs10(x0, x1, ty_Integer)
new_compare30(True, True)
new_esEs35(x0, x1, ty_Char)
new_esEs5(x0, x1, ty_Int)
new_esEs30(x0, x1, app(ty_Maybe, x2))
new_esEs25(Right(x0), Right(x1), x2, app(ty_Ratio, x3))
new_ltEs23(x0, x1, ty_Ordering)
new_primMulNat0(Succ(x0), Succ(x1))
new_esEs9(x0, x1, ty_Int)
new_ltEs22(x0, x1, ty_Integer)
new_ltEs8(Just(x0), Just(x1), app(ty_Maybe, x2))
new_esEs34(x0, x1, ty_Ordering)
new_ltEs18(x0, x1, app(ty_Ratio, x2))
new_lt22(x0, x1, ty_Char)
new_esEs7(x0, x1, app(ty_Maybe, x2))
new_lt24(x0, x1, ty_Int)
new_esEs6(x0, x1, ty_Bool)
new_esEs30(x0, x1, ty_Double)
new_esEs33(x0, x1, ty_Int)
new_compare([], :(x0, x1), x2)
new_lt22(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs11(x0, x1, ty_Float)
new_esEs40(x0, x1, app(app(ty_@2, x2), x3))
new_ltEs18(x0, x1, ty_Integer)
new_esEs34(x0, x1, app(ty_[], x2))
new_ltEs16(Right(x0), Right(x1), x2, ty_Ordering)
new_ltEs24(x0, x1, app(ty_[], x2))
new_esEs35(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_esEs40(x0, x1, app(app(app(ty_@3, x2), x3), x4))
new_ltEs7(x0, x1, x2)
new_esEs31(x0, x1, ty_Double)
new_esEs4(x0, x1, ty_Char)
new_esEs37(x0, x1, app(ty_Ratio, x2))
new_esEs35(x0, x1, app(ty_Maybe, x2))
new_esEs10(x0, x1, app(ty_Ratio, x2))
new_esEs30(x0, x1, app(ty_Ratio, x2))
new_lt24(x0, x1, app(ty_Maybe, x2))
new_esEs25(Right(x0), Right(x1), x2, ty_Ordering)
new_esEs36(x0, x1, app(ty_Maybe, x2))
new_gt(x0, x1, app(ty_[], x2))
new_esEs34(x0, x1, app(ty_Ratio, x2))
new_esEs8(x0, x1, ty_Bool)
new_esEs28(x0, x1, ty_Integer)
new_lt20(x0, x1, ty_Double)
new_esEs8(x0, x1, ty_Int)
new_ltEs19(x0, x1, app(app(ty_Either, x2), x3))
new_ltEs24(x0, x1, ty_Ordering)
new_esEs10(x0, x1, ty_Bool)
new_primCmpInt(Pos(Succ(x0)), Pos(x1))
new_lt22(x0, x1, ty_Float)
new_ltEs23(x0, x1, app(app(ty_@2, x2), x3))
new_primCompAux00(x0, GT)
new_primMinusNat0(Succ(x0), Zero)
new_mkBalBranch6MkBalBranch4(EmptyFM, x0, x1, x2, True, x3, x4)

We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs: